summaryrefslogtreecommitdiffstats
path: root/Utilities/cmlibarchive/libarchive/archive_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_windows.h')
-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 2af421a..5a6ad7a 100644
--- a/Utilities/cmlibarchive/libarchive/archive_windows.h
+++ b/Utilities/cmlibarchive/libarchive/archive_windows.h
@@ -117,7 +117,9 @@
#define read __la_read
#define rmdir __la_rmdir
#define stat(path,stref) __la_stat(path,stref)
+#ifndef __BORLANDC__
#define strdup _strdup
+#endif
#define tzset _tzset
#define umask _umask
#define unlink __la_unlink