11 #if defined(__WIN32) || defined(_WIN32) || defined(WIN32) || defined(__CYGWIN__) 12 # if defined(DLL_EXPORT) 13 # if defined(CPPCMS_SOURCE) || defined(CPPCMS_LOCALE_SOURCE) 14 # define CPPCMS_API __declspec(dllexport) 16 # define CPPCMS_API __declspec(dllimport) 25 #if (defined(WIN32) || defined(_WIN32) || defined(__WIN32)) && !defined(__CYGWIN__) 26 #define CPPCMS_WIN_NATIVE 28 #if defined(__CYGWIN__) 32 #if defined(CPPCMS_WIN_NATIVE) || defined(CPPCMS_CYGWIN) 36 #if !defined(CPPCMS_WIN_NATIVE) 40 #if defined __GNUC__ || defined __clang__ 41 #define CPPCMS_DEPRECATED __attribute__((deprecated)) 42 #elif defined _MSC_VER 43 #define CPPCMS_DEPRECATED __declspec(deprecated) 45 #define CPPCMS_DEPRECATED 48 #if defined __GNUC__ || defined __clang__ 49 #define CPPCMS_UNUSED __attribute__((unused)) 55 #define CPPCMS_UNUSED_MEMBER __attribute__((unused)) 57 #define CPPCMS_UNUSED_MEMBER