1
2
3
4
5
6 #ifndef SNGCM_LEXER_API_INCLUDED
7 #define SNGCM_LEXER_API_INCLUDED
8
9 #if defined(_WIN32) && !defined(__MINGW32__)
10
11 #ifdef SNGCM_LEXER_EXPORTS
12 #define SNGCM_LEXER_API __declspec(dllexport)
13 #else
14
15 #define SNGCM_LEXER_API __declspec(dllimport)
16
17 #ifdef NDEBUG
18 #pragma comment(lib, "cmsngcmlexer.lib")
19 #elif defined(TRACE)
20 #pragma comment(lib, "cmsngcmlexert.lib")
21 #else
22 #pragma comment(lib, "cmsngcmlexerd.lib")
23 #endif
24
25 #endif
26
27 #else
28
29 #define SNGCM_LEXER_API
30
31 #endif
32
33 #endif // SNGCM_LEXER_API_INCLUDED
34