Go to the documentation of this file.
22 #ifndef __IPOPTCONFIG_H__
23 #define __IPOPTCONFIG_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 # undef SIPOPTLIB_EXPORT
72 # define SIPOPTLIB_EXPORT __declspec(dllexport)
73 # elif defined(__GNUC__) && __GNUC__ >= 4
74 # undef SIPOPTLIB_EXPORT
75 # define SIPOPTLIB_EXPORT __attribute__((__visibility__("default")))