Go to the documentation of this file.
24 #ifndef __IPOPTCONFIG_H__
25 #define __IPOPTCONFIG_H__
32 #include "config_ipopt.h"
53 #undef IPOPTLIB_EXPORT
54 #define IPOPTLIB_EXPORT __declspec(dllexport)
55 #elif defined(__GNUC__) && __GNUC__ >= 4
56 #undef IPOPTLIB_EXPORT
57 #define IPOPTLIB_EXPORT __attribute__((__visibility__("default")))
61 #ifdef IPOPTAMPL_BUILD
63 #undef IPOPTAMPLINTERFACELIB_EXPORT
64 #define IPOPTAMPLINTERFACELIB_EXPORT __declspec(dllexport)
65 #elif defined(__GNUC__) && __GNUC__ >= 4
66 #undef IPOPTAMPLINTERFACELIB_EXPORT
67 #define IPOPTAMPLINTERFACELIB_EXPORT __attribute__((__visibility__("default")))
73 #undef SIPOPTLIB_EXPORT
74 #define SIPOPTLIB_EXPORT __declspec(dllexport)
75 #elif defined(__GNUC__) && __GNUC__ >= 4
76 #undef SIPOPTLIB_EXPORT
77 #define SIPOPTLIB_EXPORT __attribute__((__visibility__("default")))