summaryrefslogtreecommitdiff
path: root/src/pugiconfig.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugiconfig.hpp')
-rw-r--r--src/pugiconfig.hpp6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/pugiconfig.hpp b/src/pugiconfig.hpp
index e1ac464..57514ae 100644
--- a/src/pugiconfig.hpp
+++ b/src/pugiconfig.hpp
@@ -24,4 +24,10 @@
// Note: you can't use XPath with PUGIXML_NO_EXCEPTIONS
// #define PUGIXML_NO_EXCEPTIONS
+// Set this to control attributes for public classes/functions, i.e.:
+// #define PUGIXML_API __declspec(dllexport) // to export all public symbols from DLL
+// #define PUGIXML_CLASS __declspec(dllimport) // to import all classes from DLL
+// #define PUGIXML_FUNCTION __fastcall // to set calling conventions to all public functions to fastcall
+// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
+
#endif