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:
parent
0557a06764
commit
6056ba2f89
@ -39,7 +39,6 @@
|
||||
|
||||
// Uncomment this to switch to header-only version
|
||||
// #define PUGIXML_HEADER_ONLY
|
||||
// #include "pugixml.cpp"
|
||||
|
||||
#endif
|
||||
|
||||
|
@ -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
|
||||
*
|
||||
|
Loading…
x
Reference in New Issue
Block a user