aboutsummaryrefslogtreecommitdiffstats
path: root/libarchive/archive_windows.h
diff options
context:
space:
mode:
Diffstat (limited to 'libarchive/archive_windows.h')
-rw-r--r--libarchive/archive_windows.h5
1 files changed, 1 insertions, 4 deletions
diff --git a/libarchive/archive_windows.h b/libarchive/archive_windows.h
index e77cd08fc3b4..87d8c891bb0b 100644
--- a/libarchive/archive_windows.h
+++ b/libarchive/archive_windows.h
@@ -112,10 +112,7 @@
#if !defined(__BORLANDC__) && !defined(__WATCOMC__)
#define setmode _setmode
#endif
-#ifdef stat
-#undef stat
-#endif
-#define stat(path,stref) __la_stat(path,stref)
+#define la_stat(path,stref) __la_stat(path,stref)
#if !defined(__WATCOMC__)
#if !defined(__BORLANDC__)
#define strdup _strdup