From 6056ba2f89ebab037e8bb5aa2ee695175779717c Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Sat, 8 Feb 2014 20:44:20 +0000 Subject: Simplify header-only mode usage: it's sufficient to define PUGIXML_HEADER_ONLY anywhere now, source is automatically included git-svn-id: http://pugixml.googlecode.com/svn/trunk@964 99668b35-9821-0410-8761-19e4c4f06640 --- src/pugixml.hpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/pugixml.hpp') 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 * -- cgit v1.2.3