diff options
author | Mark Adler <madler@alumni.caltech.edu> | 2012-01-21 11:54:52 -0800 |
---|---|---|
committer | Mark Adler <madler@alumni.caltech.edu> | 2012-01-21 11:58:45 -0800 |
commit | de6cb6fe5c0b209c0337a78294017c38efd54c6b (patch) | |
tree | faf93a0e35c4e973d1b2751d63f94517e6cd2f27 /contrib | |
parent | 601b542a9d6c3689fce1414ec089d5f193656faa (diff) | |
download | zlib-de6cb6fe5c0b209c0337a78294017c38efd54c6b.tar.gz zlib-de6cb6fe5c0b209c0337a78294017c38efd54c6b.tar.bz2 zlib-de6cb6fe5c0b209c0337a78294017c38efd54c6b.zip |
Avoid some warnings in contrib/minizip [Vollant].
Diffstat (limited to 'contrib')
-rw-r--r-- | contrib/minizip/ioapi.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/contrib/minizip/ioapi.c b/contrib/minizip/ioapi.c index 49ec64a..7f5c191 100644 --- a/contrib/minizip/ioapi.c +++ b/contrib/minizip/ioapi.c | |||
@@ -10,11 +10,11 @@ | |||
10 | 10 | ||
11 | */ | 11 | */ |
12 | 12 | ||
13 | #if (defined(_WIN32)) | 13 | #if defined(_WIN32) && (!(defined(_CRT_SECURE_NO_WARNINGS))) |
14 | #define _CRT_SECURE_NO_WARNINGS | 14 | #define _CRT_SECURE_NO_WARNINGS |
15 | #endif | 15 | #endif |
16 | 16 | ||
17 | #ifdef __APPLE__ | 17 | #if defined(__APPLE__) || defined(IOAPI_NO_64) |
18 | // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions | 18 | // In darwin and perhaps other BSD variants off_t is a 64 bit value, hence no need for specific 64 bit functions |
19 | #define FOPEN_FUNC(filename, mode) fopen(filename, mode) | 19 | #define FOPEN_FUNC(filename, mode) fopen(filename, mode) |
20 | #define FTELLO_FUNC(stream) ftello(stream) | 20 | #define FTELLO_FUNC(stream) ftello(stream) |