00001
00002
00003
00004
00005
00006
00007
00008
00009
00010
00011
00012
00013
00014 #ifndef GLOOX_MACROS_H__
00015 #define GLOOX_MACROS_H__
00016
00017 #ifdef WIN32
00018 #pragma warning( disable:4251 )
00019 #pragma warning( disable:4786 )
00020 #endif
00021
00022 #ifdef WIN32
00023 #define GLOOX_EXPORT __declspec( dllexport )
00024 #else
00025 #define GLOOX_EXPORT
00026 #endif
00027
00028
00029 #if __GNUC__ - 0 > 3 || ( __GNUC__ - 0 == 3 && __GNUC_MINOR__ - 0 >= 2 )
00030 #define GLOOX_DEPRECATED __attribute__ ( (deprecated) )
00031 #elif defined( _MSC_VER ) && ( _MSC_VER >= 1300 )
00032 #define GLOOX_DEPRECATED __declspec( deprecated )
00033 #else
00034 #define GLOOX_DEPRECATED
00035 #endif
00036
00037
00038 #endif // GLOOX_MACROS_H__