libmsn 4.2.1
|
00001 #ifndef _LIBMSN_EXPORT_H_ 00002 #define _LIBMSN_EXPORT_H_ 00003 00004 /* export classes under windows 00005 * visibility can be added later under all other systems 00006 */ 00007 #ifdef _MSC_VER 00008 // we need to include windows.h here to not get compiler errors inside excpt.h (system header) 00009 #include <windows.h> 00010 #pragma warning( disable : 4251 ) 00011 #pragma warning( disable : 4996 ) 00012 #endif 00013 00014 #ifdef _WIN32 00015 # ifdef msn_EXPORTS 00016 # define LIBMSN_EXPORT __declspec(dllexport) 00017 # else 00018 # define LIBMSN_EXPORT __declspec(dllimport) 00019 #endif 00020 #else 00021 # define LIBMSN_EXPORT 00022 #endif 00023 00024 #endif // _LIBMSN_EXPORT_H_