summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/pugiconfig.hpp1
-rw-r--r--src/pugixml.hpp5
2 files changed, 1 insertions, 5 deletions
diff --git a/src/pugiconfig.hpp b/src/pugiconfig.hpp
index ffa323a..56f1d22 100644
--- a/src/pugiconfig.hpp
+++ b/src/pugiconfig.hpp
@@ -39,6 +39,7 @@
// Uncomment this to switch to header-only version
// #define PUGIXML_HEADER_ONLY
+// #include "pugixml.cpp"
// Uncomment this to enable long long support
// #define PUGIXML_HAS_LONG_LONG
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index b912127..6fb99be 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1306,11 +1306,6 @@ namespace std
#endif
-// Make sure implementation is included in header-only mode
-#ifdef PUGIXML_HEADER_ONLY
-# include "pugixml.cpp"
-#endif
-
/**
* Copyright (c) 2006-2014 Arseny Kapoulkine
*