summaryrefslogtreecommitdiff
path: root/xdelta3/xdelta3.h
diff options
context:
space:
mode:
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r--xdelta3/xdelta3.h5
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
131typedef signed int ssize_t; 131typedef signed int ssize_t;
132#if _MSC_VER < 1600
132typedef unsigned char uint8_t; 133typedef unsigned char uint8_t;
133typedef unsigned short uint16_t; 134typedef unsigned short uint16_t;
134typedef unsigned long uint32_t; 135typedef unsigned long uint32_t;
135typedef ULONGLONG uint64_t; 136typedef 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