From 81274bb026a40550cd80faf6c1855defbb87c430 Mon Sep 17 00:00:00 2001 From: Paul Mulders Date: Wed, 30 Jun 2021 19:13:33 +0200 Subject: [PATCH] Fix include in test_document.cpp when building against libc++ --- tests/test_document.cpp | 11 +++++------ 1 file changed, 5 insertions(+), 6 deletions(-) diff --git a/tests/test_document.cpp b/tests/test_document.cpp index 3f27a8c..5379092 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -22,12 +22,11 @@ # include #endif -#ifdef __MINGW32__ -# include // for unlink in C++0x mode -#endif - -#if defined(__CELLOS_LV2__) || defined(ANDROID) || defined(_GLIBCXX_HAVE_UNISTD_H) || defined(__APPLE__) -# include // for unlink +// for unlink +#ifdef _WIN32 +# include +#else +# include #endif using namespace pugi;