[Cmake-commits] [cmake-commits] hoffman committed archive_windows.c 1.1 1.2
cmake-commits at cmake.org
cmake-commits at cmake.org
Fri Oct 30 16:36:49 EDT 2009
Update of /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive
In directory public:/mounts/ram/cvs-serv1981
Modified Files:
archive_windows.c
Log Message:
Fix for VS 7 or lower not having ULL postfix for types
Index: archive_windows.c
===================================================================
RCS file: /cvsroot/CMake/CMake/Utilities/cmlibarchive/libarchive/archive_windows.c,v
retrieving revision 1.1
retrieving revision 1.2
diff -C 2 -d -r1.1 -r1.2
*** archive_windows.c 30 Oct 2009 17:09:59 -0000 1.1
--- archive_windows.c 30 Oct 2009 20:36:46 -0000 1.2
***************
*** 57,62 ****
#include <wchar.h>
#include <windows.h>
- #define EPOC_TIME (116444736000000000ULL)
struct ustat {
--- 57,66 ----
#include <wchar.h>
#include <windows.h>
+ #if defined(_MSC_VER) && _MSC_VER <= 1300
+ # define EPOC_TIME (116444736000000000)
+ #else
+ # define EPOC_TIME (116444736000000000ULL)
+ #endif
struct ustat {
More information about the Cmake-commits
mailing list