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:
parent
0557a06764
commit
6056ba2f89
@ -39,7 +39,6 @@
|
|||||||
|
|
||||||
// Uncomment this to switch to header-only version
|
// Uncomment this to switch to header-only version
|
||||||
// #define PUGIXML_HEADER_ONLY
|
// #define PUGIXML_HEADER_ONLY
|
||||||
// #include "pugixml.cpp"
|
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|||||||
@ -1288,6 +1288,11 @@ namespace std
|
|||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
// Make sure implementation is included in header-only mode
|
||||||
|
#ifdef PUGIXML_HEADER_ONLY
|
||||||
|
# include "pugixml.cpp"
|
||||||
|
#endif
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Copyright (c) 2006-2012 Arseny Kapoulkine
|
* Copyright (c) 2006-2012 Arseny Kapoulkine
|
||||||
*
|
*
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user