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-09-09 18:24:05 +0400
committerGonzalo Paniagua Javier <gonzalo.mono@gmail.com>2009-09-09 18:24:05 +0400
commitce69cb7d8ac07b473020f562c6080bd0f13d2283 (patch)
treeb51dd68759f8d2fef69dbb15065cc8aafe840c95 /support
parent04ec436d097d1020444595f2d292d111a94db276 (diff)
Fixing the cygwin build: the saga continues
svn path=/trunk/mono/; revision=141610
Diffstat (limited to 'support')
-rw-r--r--support/gzio.c2
-rw-r--r--support/zconf.h4
2 files changed, 3 insertions, 3 deletions
diff --git a/support/gzio.c b/support/gzio.c
index df346207ffa..044d38a93f7 100644
--- a/support/gzio.c
+++ b/support/gzio.c
@@ -1,3 +1,4 @@
+#ifdef MONO_DOES_NOT_NEED_THIS
/* gzio.c -- IO on .gz files
* Copyright (C) 1995-2006 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
@@ -1118,3 +1119,4 @@ void ZEXPORT gzclearerr (file)
s->z_eof = 0;
clearerr(s->file);
}
+#endif
diff --git a/support/zconf.h b/support/zconf.h
index ac18d184fe0..bfb62c167cf 100644
--- a/support/zconf.h
+++ b/support/zconf.h
@@ -390,11 +390,9 @@ typedef uLong FAR uLongf;
# pragma map(inflate_copyright,"INCOPY")
#endif
-#ifdef _MSC_VER
+#ifdef WINDOWS
#define NO_FSEEKO 1
#define NO_vsnprintf 1
-#elif defined(WINDOWS)
-#define NO_FSEEKO 1
#endif
#endif /* ZCONF_H */