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