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;