projects
/
wxWidgets.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
maintenance update (patch 582592)
[wxWidgets.git]
/
src
/
zlib
/
minigzip.c
diff --git
a/src/zlib/minigzip.c
b/src/zlib/minigzip.c
index c05d0ea92fb50206f161fa3b6eb01a3a395af40f..9dbecc9b6ee2c6293cfd921fe2a15347490e5587 100644
(file)
--- a/
src/zlib/minigzip.c
+++ b/
src/zlib/minigzip.c
@@
-1,5
+1,5
@@
/* minigzip.c -- simulate gzip using the zlib compression library
/* minigzip.c -- simulate gzip using the zlib compression library
- * Copyright (C) 1995-
1998
Jean-loup Gailly.
+ * Copyright (C) 1995-
2002
Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@
-16,7
+16,7
@@
/* @(#) $Id$ */
#include <stdio.h>
/* @(#) $Id$ */
#include <stdio.h>
-#include "zlib.h"
+#include "
../zlib/
zlib.h"
#ifdef STDC
# include <string.h>
#ifdef STDC
# include <string.h>
@@
-48,6
+48,9
@@
# define GZ_SUFFIX "-gz"
# define fileno(file) file->__file
#endif
# define GZ_SUFFIX "-gz"
# define fileno(file) file->__file
#endif
+#if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
+# include <unix.h> /* for fileno */
+#endif
#ifndef WIN32 /* unlink already in stdio.h for WIN32 */
extern int unlink OF((const char *));
#ifndef WIN32 /* unlink already in stdio.h for WIN32 */
extern int unlink OF((const char *));