0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-31 00:13:01 +08:00

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
This commit is contained in:
Arseny Kapoulkine 2014-02-08 20:44:20 +00:00
parent 0557a06764
commit 6056ba2f89
2 changed files with 5 additions and 1 deletions

View File

@ -39,7 +39,6 @@
// Uncomment this to switch to header-only version
// #define PUGIXML_HEADER_ONLY
// #include "pugixml.cpp"
#endif

View File

@ -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
*