summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--Utilities/cmlibarchive/libarchive/archive_windows.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.c b/Utilities/cmlibarchive/libarchive/archive_windows.c
index 0a39ab1..ec97d11 100644
--- a/Utilities/cmlibarchive/libarchive/archive_windows.c
+++ b/Utilities/cmlibarchive/libarchive/archive_windows.c
@@ -56,8 +56,12 @@
#include <stdlib.h>
#include <wchar.h>
#include <windows.h>
+#if defined(_MSC_VER) && _MSC_VER <= 1300
+# define EPOC_TIME (116444736000000000)
+#else
+# define EPOC_TIME (116444736000000000ULL)
+#endif
-#define EPOC_TIME (116444736000000000ULL)
struct ustat {
int64_t st_atime;