#ifndef __IPOPTCONFIG_H__
#define __IPOPTCONFIG_H__
#ifdef HAVE_CONFIG_H
#ifdef IPOPTLIB_BUILD
#include "config.h"
#else
#include "config_ipopt.h"
#endif
#else
#ifdef IPOPTLIB_BUILD
#include "config_default.h"
#else
#include "config_ipopt_default.h"
#endif
#endif
#ifdef IPOPTLIB_BUILD
# ifdef DLL_EXPORT
# undef IPOPTLIB_EXPORT
# define IPOPTLIB_EXPORT __declspec(dllexport)
# elif defined(__GNUC__) && __GNUC__ >= 4
# undef IPOPTLIB_EXPORT
# define IPOPTLIB_EXPORT __attribute__((__visibility__("default")))
# endif
#endif
#ifdef IPOPTAMPLINTERFACELIB_BUILD
# ifdef DLL_EXPORT
# undef IPOPTAMPLINTERFACELIB_EXPORT
# define IPOPTAMPLINTERFACELIB_EXPORT __declspec(dllexport)
# elif defined(__GNUC__) && __GNUC__ >= 4
# undef IPOPTAMPLINTERFACELIB_EXPORT
# define IPOPTAMPLINTERFACELIB_EXPORT __attribute__((__visibility__("default")))
# endif
#endif
#ifdef SIPOPTLIB_BUILD
# ifdef DLL_EXPORT
# undef SIPOPTLIB_EXPORT
# define SIPOPTLIB_EXPORT __declspec(dllexport)
# elif defined(__GNUC__) && __GNUC__ >= 4
# undef SIPOPTLIB_EXPORT
# define SIPOPTLIB_EXPORT __attribute__((__visibility__("default")))
# endif
#endif
#endif