summaryrefslogtreecommitdiff
path: root/src/pugiconfig.hpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-20 07:07:01 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-03-20 07:07:01 +0000
commit5e8e325d856b52d44452155f456ac4182908c958 (patch)
tree279f4506c2c68fa2c5fbe51ac1f1a643a7f5c0b5 /src/pugiconfig.hpp
parent3a282e2f0b21ec01626e76fa94ef0579b5326f8d (diff)
Fixed strict aliasing violation warning in output buffer conversion via union. Fixed BlackBerry NDK -O3 compilation in header-only wchar mode.
git-svn-id: http://pugixml.googlecode.com/svn/trunk@869 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'src/pugiconfig.hpp')
-rw-r--r--src/pugiconfig.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pugiconfig.hpp b/src/pugiconfig.hpp
index 465fd21..cd9bc63 100644
--- a/src/pugiconfig.hpp
+++ b/src/pugiconfig.hpp
@@ -33,8 +33,8 @@
// In absence of PUGIXML_CLASS/PUGIXML_FUNCTION definitions PUGIXML_API is used instead
// Uncomment this to switch to header-only version
-// #define PUGIXML_HEADER_ONLY
-// #include "pugixml.cpp"
+#define PUGIXML_HEADER_ONLY
+#include "pugixml.cpp"
// Tune these constants to adjust memory-related behavior
// #define PUGIXML_MEMORY_PAGE_SIZE 32768