Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-08-24 22:34:51 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-08-24 22:34:51 +0400
commit09a6edee71e1c5ff640c3ebcc9959194786c96fe (patch)
tree024f09c247faa642aa0d2795deb931ce7f257d8d /support
parenta373ab3b826a4a0c35de44eed1d501f918fa4c9d (diff)
fix take 2
svn path=/trunk/mono/; revision=140533
Diffstat (limited to 'support')
-rw-r--r--support/zlib.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/support/zlib.h b/support/zlib.h
index bb164c0f4cb..ab2f11b5666 100644
--- a/support/zlib.h
+++ b/support/zlib.h
@@ -1369,6 +1369,7 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits,
ZEXTERN uLong ZEXPORT crc32_combine64 OF((uLong, uLong, off64_t));
#endif
+/* Mono: disable this. We don't use it and makes compilation fail
#if _FILE_OFFSET_BITS == 64
# define gzopen gzopen64
# define gzseek gzseek64
@@ -1376,12 +1377,13 @@ ZEXTERN int ZEXPORT inflateBackInit_ OF((z_streamp strm, int windowBits,
# define adler32_combine adler32_combine64
# define crc32_combine crc32_combine64
#else
+*/
ZEXTERN gzFile ZEXPORT gzopen OF((const char *, const char *));
ZEXTERN z_off_t ZEXPORT gzseek OF((gzFile, z_off_t, int));
ZEXTERN z_off_t ZEXPORT gztell OF((gzFile));
ZEXTERN uLong ZEXPORT adler32_combine OF((uLong, uLong, z_off_t));
ZEXTERN uLong ZEXPORT crc32_combine OF((uLong, uLong, z_off_t));
-#endif
+/*#endif*/
#if !defined(ZUTIL_H) && !defined(NO_DUMMY_DECL)
struct internal_state {int dummy;}; /* hack for buggy compilers */