1 | #ifndef _LIBMSN_EXPORT_H_ |
2 | #define _LIBMSN_EXPORT_H_ |
3 | |
4 | /* export classes under windows |
5 | * visibility can be added later under all other systems |
6 | */ |
7 | #ifdef _MSC_VER |
8 | // we need to include windows.h here to not get compiler errors inside excpt.h (system header) |
9 | #include <windows.h> |
10 | #pragma warning( disable : 4251 ) |
11 | #pragma warning( disable : 4996 ) |
12 | #endif |
13 | |
14 | #ifdef _WIN32 |
15 | # ifdef msn_EXPORTS |
16 | # define LIBMSN_EXPORT __declspec(dllexport) |
17 | # else |
18 | # define LIBMSN_EXPORT __declspec(dllimport) |
19 | #endif |
20 | #else |
21 | # define LIBMSN_EXPORT |
22 | #endif |
23 | |
24 | #endif // _LIBMSN_EXPORT_H_ |
25 | |