diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-04-02 05:29:19 +0000 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2014-04-02 05:29:19 +0000 |
commit | 9c5efaa074ed947325c64d8f22efd2b1b94e5f6d (patch) | |
tree | 7e153aa53e5b66e4297c61ca6bc0d8207eee49d6 /tests/test_document.cpp | |
parent | 9f92eeba44cdf9df5faae0b03cc5bfb445793348 (diff) |
tests: Fix Mac OS X compilation.
git-svn-id: https://pugixml.googlecode.com/svn/trunk@997 99668b35-9821-0410-8761-19e4c4f06640
Diffstat (limited to 'tests/test_document.cpp')
-rw-r--r-- | tests/test_document.cpp | 2 |
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 |