diff options
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r-- | xdelta3/xdelta3.h | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h index 0710f08..6cffbf8 100644 --- a/xdelta3/xdelta3.h +++ b/xdelta3/xdelta3.h | |||
@@ -129,11 +129,16 @@ typedef unsigned int usize_t; | |||
129 | #ifdef _MSC_VER | 129 | #ifdef _MSC_VER |
130 | #define inline | 130 | #define inline |
131 | typedef signed int ssize_t; | 131 | typedef signed int ssize_t; |
132 | #if _MSC_VER < 1600 | ||
132 | typedef unsigned char uint8_t; | 133 | typedef unsigned char uint8_t; |
133 | typedef unsigned short uint16_t; | 134 | typedef unsigned short uint16_t; |
134 | typedef unsigned long uint32_t; | 135 | typedef unsigned long uint32_t; |
135 | typedef ULONGLONG uint64_t; | 136 | typedef ULONGLONG uint64_t; |
136 | #else | 137 | #else |
138 | /* For MSVC10 and above */ | ||
139 | #include <stdint.h> | ||
140 | #endif | ||
141 | #else | ||
137 | /* mingw32, lcc and watcom provide a proper header */ | 142 | /* mingw32, lcc and watcom provide a proper header */ |
138 | #include <stdint.h> | 143 | #include <stdint.h> |
139 | #endif | 144 | #endif |