0
0
mirror of https://github.com/zeux/pugixml.git synced 2024-12-26 12:41:06 +08:00

Fix include in test_document.cpp when building against libc++

This commit is contained in:
Paul Mulders 2021-06-30 19:13:33 +02:00
parent 06a516c73c
commit 81274bb026

View File

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