14 #ifndef GLOOX_MACROS_H__ 15 #define GLOOX_MACROS_H__ 17 #if defined( _MSC_VER ) || defined( _WIN32_WCE ) 18 # pragma warning( disable:4251 ) 19 # pragma warning( disable:4786 ) 22 #if defined( _WIN32 ) && !defined( __SYMBIAN32__ ) 23 # if defined( GLOOX_EXPORTS ) || defined( DLL_EXPORT ) 24 # define GLOOX_API __declspec( dllexport ) 26 # if defined( GLOOX_IMPORTS ) || defined( DLL_IMPORT ) 27 # define GLOOX_API __declspec( dllimport ) 37 #if defined( __GNUC__ ) && ( __GNUC__ - 0 > 3 || ( __GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2 ) ) 38 # define GLOOX_DEPRECATED __attribute__ ( (__deprecated__) ) 39 # define GLOOX_DEPRECATED_CTOR explicit GLOOX_DEPRECATED 40 #elif defined( _MSC_VER ) && ( _MSC_VER >= 1300 ) 41 # define GLOOX_DEPRECATED __declspec( deprecated ) 42 # define GLOOX_DEPRECATED_CTOR explicit GLOOX_DEPRECATED 44 # define GLOOX_DEPRECATED 45 # define GLOOX_DEPRECATED_CTOR 49 #endif // GLOOX_MACROS_H__