arsa  2.7
pugiconfig.hpp
Go to the documentation of this file.
1 
14 #ifndef HEADER_PUGICONFIG_HPP
15 #define HEADER_PUGICONFIG_HPP
16 
17 // Uncomment this to enable wchar_t mode
18 // #define PUGIXML_WCHAR_MODE
19 
20 // Uncomment this to enable compact mode
21 // #define PUGIXML_COMPACT
22 
23 // Uncomment this to disable XPath
24 // #define PUGIXML_NO_XPATH
25 
26 // Uncomment this to disable STL
27 // #define PUGIXML_NO_STL
28 
29 // Uncomment this to disable exceptions
30 #define PUGIXML_NO_EXCEPTIONS
31 
32 // Set this to control attributes for public classes/functions, i.e.:
33 // #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL
34 // #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL
35 // #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
36 // In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
37 
38 #if defined(__WIN32__) || defined(__WINRT__)
39 #ifdef _ARSA_STATIC_LIB_
40 #else
41 #ifdef ARSA_DLL_EXPORTS
42 #define PUGIXML_API __declspec(dllexport)
43 #else
44 #define PUGIXML_CLASS __declspec(dllimport)
45 #endif // #ifdef ARSA_DLL_EXPORTS
46 #endif
47 #endif // #if defined(__WIN32__) || defined(__WINRT__)
48 
49 // Tune these constants to adjust memory-related behavior
50 // #define PUGIXML_MEMORY_PAGE_SIZE 32768
51 // #define PUGIXML_MEMORY_OUTPUT_STACK 10240
52 // #define PUGIXML_MEMORY_XPATH_PAGE_SIZE 4096
53 
54 // Uncomment this to switch to header-only version
55 // #define PUGIXML_HEADER_ONLY
56 
57 // Uncomment this to enable long long support
58 // #define PUGIXML_HAS_LONG_LONG
59 
60 #endif
61