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