diff --git a/Utilities/cmlibarchive/libarchive/archive_windows.c b/Utilities/cmlibarchive/libarchive/archive_windows.c index 0a39ab121..ec97d111e 100644 --- a/Utilities/cmlibarchive/libarchive/archive_windows.c +++ b/Utilities/cmlibarchive/libarchive/archive_windows.c @@ -56,8 +56,12 @@ #include #include #include +#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;