8 #ifndef BOOSTER_CONFIG_H 9 #define BOOSTER_CONFIG_H 11 #if defined(__WIN32) || defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) 12 # define BOOSTER_SYMBOL_VISIBLE 13 # if defined(DLL_EXPORT) 14 # if defined(BOOSTER_SOURCE) 15 # define BOOSTER_API __declspec(dllexport) 17 # define BOOSTER_API __declspec(dllimport) 23 # if defined(BOOSTER_SOURCE) && defined(BOOSTER_VISIBILITY_SUPPORT) 24 # define BOOSTER_API __attribute__ ((visibility("default"))) 25 # define BOOSTER_SYMBOL_VISIBLE __attribute__ ((visibility("default"))) 28 # define BOOSTER_SYMBOL_VISIBLE 32 #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__) 33 #define BOOSTER_WIN_NATIVE 36 #if defined(__CYGWIN__) 37 #define BOOSTER_CYGWIN 40 #if defined(BOOSTER_WIN_NATIVE) || defined(BOOSTER_CYGWIN) 44 #if !defined(BOOSTER_WIN_NATIVE) 51 #pragma warning (disable: 4275 4251) 55 #undef BOOSTER_HAS_CHAR16_T 56 #undef BOOSTER_HAS_CHAR32_T 57 #undef BOOSTER_NO_STD_WSTRING 58 #undef BOOSTER_NO_SWPRINTF 64 #if defined(__GNUC__) && __GNUC__ < 4 68 #if defined(__CYGWIN__) || (defined(BOOSTER_WIN32) && defined(BOOSTER_GCC3)) 69 # define BOOSTER_NO_STD_WSTRING 72 #if defined(BOOSTER_WIN32) && defined(BOOSTER_GCC) 73 # define BOOST_NO_SWPRINTF 76 #if defined __GNUC__ || defined __clang__ 77 #define BOOSTER_UNUSED __attribute__((unused)) 79 #define BOOSTER_UNUSED 83 #define BOOSTER_UNUSED_MEMBER __attribute__((unused)) 85 #define BOOSTER_UNUSED_MEMBER