Changeset 2264


Ignore:
Timestamp:
Feb 5, 2020 4:30:43 AM (16 months ago)
Author:
stefan
Message:

fix for adapt default config to declare dllexport only if DLL_EXPORT is defined

Location:
trunk/src/Interfaces
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/src/Interfaces/config_bonmin_default.h

    r2263 r2264  
    1818
    1919#ifndef BONMINLIB_EXPORT
    20 #if defined(_WIN32) || defined(DLL_EXPORT)
     20#if defined(_WIN32) && defined(DLL_EXPORT)
    2121#define BONMINLIB_EXPORT __declspec(dllimport)
    2222#else
  • trunk/src/Interfaces/config_default.h

    r2263 r2264  
    55/* this needs to come before the include of config_ipopt_default.h */
    66#ifndef BONMINLIB_EXPORT
    7 #if defined(_WIN32) || defined(DLL_EXPORT)
     7#if defined(_WIN32) && defined(DLL_EXPORT)
    88#define BONMINLIB_EXPORT __declspec(dllexport)
    99#else
Note: See TracChangeset for help on using the changeset viewer.