LAMA
|
00001 00033 //No include header guards be cause we want to allow this header to be included multiple times 00034 00035 #ifdef WIN32 00036 #ifdef min 00037 #undef min 00038 #endif //min 00039 #ifdef max 00040 #undef max 00041 #endif //max 00042 00043 //Do not display warnings about dll-interface issues. 00044 // @todo How can we resolve these issues? Do we want to resolve these issues? 00045 #pragma warning( disable: 4251 ) 00046 00047 #ifndef LAMA_DLL_IMPORTEXPORT 00048 #ifdef LAMA_COMPILING_DLL 00049 #define LAMA_DLL_IMPORTEXPORT __declspec( dllexport ) 00050 #define LAMA_DLL_EXTERN_TEMPLATE 00051 #else //LAMA_COMPILING_DLL is defined 00052 #define LAMA_DLL_IMPORTEXPORT __declspec( dllimport ) 00053 #define LAMA_DLL_EXTERN_TEMPLATE extern 00054 #endif //LAMA_COMPILING_DLL 00055 #endif //LAMA_DLL_IMPORTEXPORT 00056 #else //WIN32 is not defined 00057 #ifndef LAMA_DLL_IMPORTEXPORT 00058 #define LAMA_DLL_IMPORTEXPORT 00059 #endif //LAMA_DLL_IMPORTEXPORT 00060 00061 #endif //WIN32