From 8cf5af0645b2af0da8ddda447417eb40a83bf0ff Mon Sep 17 00:00:00 2001 From: Brad King Date: Tue, 10 Nov 2009 16:27:42 -0500 Subject: [PATCH] libarchive: Borland provides umask, not _umask --- Utilities/cmlibarchive/libarchive/archive_windows.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.h b/Utilities/cmlibarchive/libarchive/archive_windows.h index 40d88e595..a046b9730 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