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