summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h13
1 files changed, 5 insertions, 8 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h
index 0cf6d6b..440ac17 100644
--- a/xdelta3/xdelta3.h
+++ b/xdelta3/xdelta3.h
@@ -101,15 +101,13 @@ typedef unsigned int usize_t;
101#else 101#else
102#define WIN32_LEAN_AND_MEAN 102#define WIN32_LEAN_AND_MEAN
103#if XD3_USE_LARGEFILE64 103#if XD3_USE_LARGEFILE64
104/* 64 bit file offsets: uses GetFileSizeEx and 104/* 64 bit file offsets: uses GetFileSizeEx and SetFilePointerEx.
105 * SetFilePointerEx. requires WinME, or Win2000 105 * requires Win2000 or newer version of WinNT */
106 * and or newer version of WinNT */
107#define WINVER 0x0500 106#define WINVER 0x0500
108#define _WIN32_WINNT 0x0500 107#define _WIN32_WINNT 0x0500
109#else 108#else
110/* 32 bit (DWORD) file offsets: uses GetFileSize 109/* 32 bit (DWORD) file offsets: uses GetFileSize and
111 * and SetFilePointer. compatible with win95-98 110 * SetFilePointer. compatible with win9x-me and WinNT4 */
112 * and WinNT4 */
113#define WINVER 0x0400 111#define WINVER 0x0400
114#define _WIN32_WINNT 0x0400 112#define _WIN32_WINNT 0x0400
115#endif 113#endif
@@ -123,8 +121,7 @@ typedef unsigned short uint16_t;
123typedef unsigned long uint32_t; 121typedef unsigned long uint32_t;
124typedef ULONGLONG uint64_t; 122typedef ULONGLONG uint64_t;
125#else 123#else
126/* mingw32, lcc and watcom 124/* mingw32, lcc and watcom provide a proper header */
127 * provide a proper header */
128#include <stdint.h> 125#include <stdint.h>
129#endif 126#endif
130#endif 127#endif