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>
|
# include <stdexcept>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __MINGW32__
|
// for unlink
|
||||||
# include <io.h> // for unlink in C++0x mode
|
#ifdef _WIN32
|
||||||
#endif
|
# include <io.h>
|
||||||
|
#else
|
||||||
#if defined(__CELLOS_LV2__) || defined(ANDROID) || defined(_GLIBCXX_HAVE_UNISTD_H) || defined(__APPLE__)
|
# include <unistd.h>
|
||||||
# include <unistd.h> // for unlink
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
using namespace pugi;
|
using namespace pugi;
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user