diff options
author | josh.macdonald@gmail.com <josh.macdonald@gmail.com@a3eca27d-f21b-0410-9b4a-6511e771f64e> | 2012-07-15 22:16:58 +0000 |
---|---|---|
committer | josh.macdonald@gmail.com <josh.macdonald@gmail.com@a3eca27d-f21b-0410-9b4a-6511e771f64e> | 2012-07-15 22:16:58 +0000 |
commit | 505be6b4cc8c142d4098f8c050e3c1075e1caf24 (patch) | |
tree | 10def4dea1bd9c7d9f5cdad5dd2d076fda05e835 /xdelta3/xdelta3-internal.h | |
parent | 7fab5abad768eed704ed7819567598b88228e790 (diff) |
Compiles on gcc-4.6
Diffstat (limited to 'xdelta3/xdelta3-internal.h')
-rw-r--r-- | xdelta3/xdelta3-internal.h | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/xdelta3/xdelta3-internal.h b/xdelta3/xdelta3-internal.h index 9a728ff..10ecb38 100644 --- a/xdelta3/xdelta3-internal.h +++ b/xdelta3/xdelta3-internal.h | |||
@@ -18,12 +18,7 @@ | |||
18 | #ifndef XDELTA3_INTERNAL_H__ | 18 | #ifndef XDELTA3_INTERNAL_H__ |
19 | #define XDELTA3_INTERNAL_H__ | 19 | #define XDELTA3_INTERNAL_H__ |
20 | 20 | ||
21 | #include <stdio.h> | 21 | #include "xdelta3.h" |
22 | #include <stdlib.h> | ||
23 | #include <stdarg.h> | ||
24 | |||
25 | #ifndef _XDELTA3_INTERNAL_H_ | ||
26 | #define _XDELTA3_INTERNAL_H_ | ||
27 | 22 | ||
28 | typedef struct _main_file main_file; | 23 | typedef struct _main_file main_file; |
29 | typedef struct _main_extcomp main_extcomp; | 24 | typedef struct _main_extcomp main_extcomp; |
@@ -136,6 +131,12 @@ void xprintf(const char *fmt, ...) PRINTF_ATTRIBUTE(1,2); | |||
136 | #define NT "xdelta3: " | 131 | #define NT "xdelta3: " |
137 | #define NTR "" | 132 | #define NTR "" |
138 | 133 | ||
134 | #ifndef UINT32_MAX | ||
135 | #define UINT32_MAX 4294967295U | ||
136 | #endif | ||
137 | |||
138 | #ifndef UINT64_MAX | ||
139 | #define UINT64_MAX 18446744073709551615ULL | ||
139 | #endif | 140 | #endif |
140 | 141 | ||
141 | #endif // XDELTA3_INTERNAL_H__ | 142 | #endif // XDELTA3_INTERNAL_H__ |