1
2
3
4
5
6 #ifndef SNGCPP_LEXER_API_INCLUDED
7 #define SNGCPP_LEXER_API_INCLUDED
8
9 #ifdef _WIN32
10
11 #ifdef SNGCPP_LEXER_EXPORTS
12 #define SNGCPP_LEXER_API __declspec(dllexport)
13 #else
14 #define SNGCPP_LEXER_API __declspec(dllimport)
15
16 #ifdef NDEBUG
17 #pragma comment(lib, "sngcpplexer.lib")
18 #else
19 #pragma comment(lib, "sngcpplexerd.lib")
20 #endif
21
22 #endif
23
24 #else
25
26 #define SNGCPP_LEXER_API
27
28 #endif
29
30 #endif // SNGCPP_LEXER_API_INCLUDED