From 5e8e325d856b52d44452155f456ac4182908c958 Mon Sep 17 00:00:00 2001 From: "arseny.kapoulkine@gmail.com" Date: Tue, 20 Mar 2012 07:07:01 +0000 Subject: 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 --- src/pugiconfig.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/pugiconfig.hpp') 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 -- cgit v1.2.3