Go to the documentation of this file.
22 #ifndef __IPOPTCONFIG_H__
23 #define __IPOPTCONFIG_H__
30 #include "config_ipopt.h"
51 #undef IPOPTLIB_EXPORT
52 #define IPOPTLIB_EXPORT __declspec(dllexport)
53 #elif defined(__GNUC__) && __GNUC__ >= 4
54 #undef IPOPTLIB_EXPORT
55 #define IPOPTLIB_EXPORT __attribute__((__visibility__("default")))
59 #ifdef IPOPTAMPLINTERFACELIB_BUILD
61 #undef IPOPTAMPLINTERFACELIB_EXPORT
62 #define IPOPTAMPLINTERFACELIB_EXPORT __declspec(dllexport)
63 #elif defined(__GNUC__) && __GNUC__ >= 4
64 #undef IPOPTAMPLINTERFACELIB_EXPORT
65 #define IPOPTAMPLINTERFACELIB_EXPORT __attribute__((__visibility__("default")))
69 #ifdef SIPOPTLIB_BUILD
71 # define SIPOPTLIB_EXPORT __declspec(dllexport)
72 # elif defined(__GNUC__) && __GNUC__ >= 4
73 # define SIPOPTLIB_EXPORT __attribute__((__visibility__("default")))
77 # define SIPOPTLIB_EXPORT __declspec(dllimport)
79 # define SIPOPTLIB_EXPORT