From 9c5efaa074ed947325c64d8f22efd2b1b94e5f6d Mon Sep 17 00:00:00 2001 From: Arseny Kapoulkine Date: Wed, 2 Apr 2014 05:29:19 +0000 Subject: tests: Fix Mac OS X compilation. git-svn-id: https://pugixml.googlecode.com/svn/trunk@997 99668b35-9821-0410-8761-19e4c4f06640 --- tests/test_document.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/test_document.cpp b/tests/test_document.cpp index ecca89c..c34eb42 100644 --- a/tests/test_document.cpp +++ b/tests/test_document.cpp @@ -22,7 +22,7 @@ # include // for unlink in C++0x mode #endif -#if defined(__CELLOS_LV2__) || defined(ANDROID) || defined(_GLIBCXX_HAVE_UNISTD_H) +#if defined(__CELLOS_LV2__) || defined(ANDROID) || defined(_GLIBCXX_HAVE_UNISTD_H) || defined(__APPLE__) # include // for unlink #endif -- cgit v1.2.3