Changeset 2864


Ignore:
Timestamp:
Feb 8, 2020 5:43:00 AM (21 months ago)
Author:
stefan
Message:

fix OSICBCLIB_EXPORT if no config.h

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/OsiCbc/OsiCbcConfig.h

    r2863 r2864  
    3030#include "config.h"
    3131
    32 /* overwrite CBCSOLVERLIB_EXPORT from config.h when building Cbc
     32/* overwrite OSICBCLIB_EXPORT from config.h when building OsiCbc
    3333 * we want it to be __declspec(dllexport) when building a DLL on Windows
    3434 * we want it to be __attribute__((__visibility__("default"))) when building with GCC,
     
    5151#ifndef OSICBCLIB_EXPORT
    5252# if defined(_WIN32) && defined(DLL_EXPORT)
    53 #  ifdef OSILIB_BUILD
     53#  ifdef OSICBC_BUILD
    5454#   define OSICBCLIB_EXPORT __declspec(dllexport)
    5555#  else
Note: See TracChangeset for help on using the changeset viewer.