diff options
Diffstat (limited to 'xdelta3/xdelta3.h')
-rw-r--r-- | xdelta3/xdelta3.h | 12 |
1 files changed, 2 insertions, 10 deletions
diff --git a/xdelta3/xdelta3.h b/xdelta3/xdelta3.h index 69204c5..f72cdc9 100644 --- a/xdelta3/xdelta3.h +++ b/xdelta3/xdelta3.h | |||
@@ -157,11 +157,7 @@ typedef uint64_t xoff_t; | |||
157 | #define SIZEOF_XOFF_T 8 | 157 | #define SIZEOF_XOFF_T 8 |
158 | #define SIZEOF_USIZE_T 4 | 158 | #define SIZEOF_USIZE_T 4 |
159 | #ifndef WIN32 | 159 | #ifndef WIN32 |
160 | #if SIZEOF_SIZE_T == 8 | ||
161 | #define Q "z" | ||
162 | #else | ||
163 | #define Q "ll" | 160 | #define Q "ll" |
164 | #endif | ||
165 | #else | 161 | #else |
166 | #define Q "I64" | 162 | #define Q "I64" |
167 | #endif | 163 | #endif |
@@ -309,12 +305,8 @@ typedef int (xd3_comp_table_func) (xd3_stream *stream, | |||
309 | #define XD3_ASSERT(x) (void)0 | 305 | #define XD3_ASSERT(x) (void)0 |
310 | #endif /* XD3_DEBUG */ | 306 | #endif /* XD3_DEBUG */ |
311 | 307 | ||
312 | #ifndef max | 308 | #define xd3_max(x,y) ((x) < (y) ? (y) : (x)) |
313 | #define max(x,y) ((x) < (y) ? (y) : (x)) | 309 | #define xd3_min(x,y) ((x) < (y) ? (x) : (y)) |
314 | #endif | ||
315 | #ifndef min | ||
316 | #define min(x,y) ((x) < (y) ? (x) : (y)) | ||
317 | #endif | ||
318 | 310 | ||
319 | /**************************************************************** | 311 | /**************************************************************** |
320 | PUBLIC ENUMS | 312 | PUBLIC ENUMS |