summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrad King <brad.king@kitware.com>2009-11-10 21:27:42 (GMT)
committerBrad King <brad.king@kitware.com>2009-11-10 21:27:42 (GMT)
commit8cf5af0645b2af0da8ddda447417eb40a83bf0ff (patch)
tree018cef6b517e17f8b2614aff7628e27a977c9420
parent35a209b0db90a4443de7c2871116738c6f930895 (diff)
downloadCMake-8cf5af0645b2af0da8ddda447417eb40a83bf0ff.zip
CMake-8cf5af0645b2af0da8ddda447417eb40a83bf0ff.tar.gz
CMake-8cf5af0645b2af0da8ddda447417eb40a83bf0ff.tar.bz2
libarchive: Borland provides umask, not _umask
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_windows.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.h b/Utilities/cmlibarchive/libarchive/archive_windows.h
index 40d88e5..a046b97 100644
--- a/Utilities/cmlibarchive/libarchive/archive_windows.h
+++ b/Utilities/cmlibarchive/libarchive/archive_windows.h
@@ -127,7 +127,9 @@
#define strdup _strdup
#endif
#define tzset _tzset
+#ifndef __BORLANDC__
#define umask _umask
+#endif
#define unlink __la_unlink
#define utimes __la_utimes
#define waitpid __la_waitpid