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