summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-04-02 05:29:19 +0000
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2014-04-02 05:29:19 +0000
commit9c5efaa074ed947325c64d8f22efd2b1b94e5f6d (patch)
tree7e153aa53e5b66e4297c61ca6bc0d8207eee49d6
parent9f92eeba44cdf9df5faae0b03cc5bfb445793348 (diff)
tests: Fix Mac OS X compilation.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@997 99668b35-9821-0410-8761-19e4c4f06640
-rw-r--r--tests/test_document.cpp2
1 files changed, 1 insertions, 1 deletions
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 <io.h> // 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 <unistd.h> // for unlink
#endif