mirror of
https://github.com/zeux/pugixml.git
synced 2024-12-26 21:04:25 +08:00
Fix include in test_document.cpp when building against libc++
This commit is contained in:
parent
06a516c73c
commit
81274bb026
@ -22,12 +22,11 @@
|
||||
# include <stdexcept>
|
||||
#endif
|
||||
|
||||
#ifdef __MINGW32__
|
||||
# include <io.h> // for unlink in C++0x mode
|
||||
#endif
|
||||
|
||||
#if defined(__CELLOS_LV2__) || defined(ANDROID) || defined(_GLIBCXX_HAVE_UNISTD_H) || defined(__APPLE__)
|
||||
# include <unistd.h> // for unlink
|
||||
// for unlink
|
||||
#ifdef _WIN32
|
||||
# include <io.h>
|
||||
#else
|
||||
# include <unistd.h>
|
||||
#endif
|
||||
|
||||
using namespace pugi;
|
||||
|
Loading…
x
Reference in New Issue
Block a user