summaryrefslogtreecommitdiff
path: root/src/pugixml.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r--src/pugixml.hpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/pugixml.hpp b/src/pugixml.hpp
index ae43fd2..a988b90 100644
--- a/src/pugixml.hpp
+++ b/src/pugixml.hpp
@@ -1288,6 +1288,11 @@ namespace std
#endif
+// Make sure implementation is included in header-only mode
+#ifdef PUGIXML_HEADER_ONLY
+# include "pugixml.cpp"
+#endif
+
/**
* Copyright (c) 2006-2012 Arseny Kapoulkine
*