diff options
author | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-01 17:41:17 (GMT) |
---|---|---|
committer | Bill Hoffman <bill.hoffman@kitware.com> | 2009-11-01 17:41:17 (GMT) |
commit | 8ba2a4040484d0aa1be26ad8fde3d7109a7c2fb1 (patch) | |
tree | 735641b93f1534495f0d512d42ec02617532497f /Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c | |
parent | e2d9595ae9adb0a7446b186b19d52099eceb7d41 (diff) | |
download | CMake-8ba2a4040484d0aa1be26ad8fde3d7109a7c2fb1.zip CMake-8ba2a4040484d0aa1be26ad8fde3d7109a7c2fb1.tar.gz CMake-8ba2a4040484d0aa1be26ad8fde3d7109a7c2fb1.tar.bz2 |
Fixes for borland, compiles with lots of warnings, but compiles, might fix vs70 again too.
Diffstat (limited to 'Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c')
-rw-r--r-- | Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c b/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c index 50c0817..9a64880 100644 --- a/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c +++ b/Utilities/cmlibarchive/libarchive/archive_entry_copy_bhfi.c @@ -28,9 +28,13 @@ __FBSDID("$FreeBSD$"); #include "archive_entry.h" -#if defined(_WIN32) && !defined(__CYGWIN__) +#if defined(_WIN32) && !defined(__CYGWIN__) +#if defined(__BORLANDC__) || (defined(_MSC_VER) && _MSC_VER <= 1300) +# define EPOC_TIME (116444736000000000) +#else +# define EPOC_TIME (116444736000000000ULL) +#endif -#define EPOC_TIME (116444736000000000ULL) __inline static void fileTimeToUtc(const FILETIME *filetime, time_t *time, long *ns) |