diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-02-08 20:44:20 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-02-08 20:44:20 +0000 |
commit | 6056ba2f89ebab037e8bb5aa2ee695175779717c (patch) | |
tree | b32a85156b434a8d1e9c32d2ddda5bfde559e864 /src/pugixml.hpp | |
parent | 0557a06764cd0bfaad8b77fa9e1b0caf3e362dec (diff) |
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
Diffstat (limited to 'src/pugixml.hpp')
-rw-r--r-- | src/pugixml.hpp | 5 |
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 * |