1 // =================================
 2 // Copyright (c) 2020 Seppo Laakko
 3 // Distributed under the MIT license
 4 // =================================
 5 
 6 #ifndef SNGCPP_SYMBOLS_API_INCLUDED
 7 #define SNGCPP_SYMBOLS_API_INCLUDED
 8 
 9 #ifdef _WIN32
10 
11 #ifdef SNGCPP_SYMBOLS_EXPORTS
12 #define SNGCPP_SYMBOLS_API __declspec(dllexport)
13 #else
14 #define SNGCPP_SYMBOLS_API __declspec(dllimport)
15 
16 #ifdef NDEBUG
17 #pragma comment(lib, "sngcppsymbols.lib")
18 #else
19 #pragma comment(lib, "sngcppsymbolsd.lib")
20 #endif
21 
22 #endif
23 
24 #else
25 
26 #define SNGCPP_SYMBOLS_API
27 
28 #endif
29 
30 #endif // SNGCPP_SYMBOLS_API_INCLUDED