Changeset 1309


Ignore:
Timestamp:
Jan 29, 2020 1:27:46 PM (2 months ago)
Author:
stefan
Message:

some hack to get r_ops_ASL from coinasl dll

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/autotools-update/Couenne/src/readnl/invmap.cpp

    r577 r1309  
    1414#include "asl.h"
    1515#include "opcode.hd"
     16// do not let nlp.h declare r_ops_ASL, as it would miss the dllimport-specificator
     17#define r_ops_ASL dummy_for_windll
    1618#include "nlp.h"
     19#undef r_ops_ASL
    1720#include "r_opn.hd"
     21
     22#ifdef DLL_EXPORT
     23#define ASLLIB_IMPORT __declspec(dllimport)
     24#else
     25#define ASLLIB_IMPORT
     26#endif
     27extern "C" ASLLIB_IMPORT efunc *r_ops_ASL[];
    1828
    1929/* couples an ASL function pointer with the relative operator constant */
Note: See TracChangeset for help on using the changeset viewer.