summaryrefslogtreecommitdiffstats
path: root/lib/libz/zconf.h
diff options
context:
space:
mode:
authordes <des@FreeBSD.org>2006-03-23 14:02:36 +0000
committerdes <des@FreeBSD.org>2006-03-23 14:02:36 +0000
commitcaf24dd70915cb95c94e18562674f4dec158dd8c (patch)
tree37a9206839ae2f1e4ec902b11c4733383a3c4930 /lib/libz/zconf.h
parentdcdd7970c32e380f850172d84335e45a41b37de8 (diff)
downloadFreeBSD-src-caf24dd70915cb95c94e18562674f4dec158dd8c.zip
FreeBSD-src-caf24dd70915cb95c94e18562674f4dec158dd8c.tar.gz
Vendor import of ZLib 1.2.3.
Diffstat (limited to 'lib/libz/zconf.h')
-rw-r--r--lib/libz/zconf.h12
1 files changed, 9 insertions, 3 deletions
diff --git a/lib/libz/zconf.h b/lib/libz/zconf.h
index 3c21403..03a9431 100644
--- a/lib/libz/zconf.h
+++ b/lib/libz/zconf.h
@@ -1,5 +1,5 @@
/* zconf.h -- configuration of the zlib compression library
- * Copyright (C) 1995-2004 Jean-loup Gailly.
+ * Copyright (C) 1995-2005 Jean-loup Gailly.
* For conditions of distribution and use, see copyright notice in zlib.h
*/
@@ -43,6 +43,10 @@
# define get_crc_table z_get_crc_table
# define zError z_zError
+# define alloc_func z_alloc_func
+# define free_func z_free_func
+# define in_func z_in_func
+# define out_func z_out_func
# define Byte z_Byte
# define uInt z_uInt
# define uLong z_uLong
@@ -64,8 +68,10 @@
#if defined(_WINDOWS) && !defined(WINDOWS)
# define WINDOWS
#endif
-#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
-# define WIN32
+#if defined(_WIN32) || defined(_WIN32_WCE) || defined(__WIN32__)
+# ifndef WIN32
+# define WIN32
+# endif
#endif
#if (defined(MSDOS) || defined(OS2) || defined(WINDOWS)) && !defined(WIN32)
# if !defined(__GNUC__) && !defined(__FLAT__) && !defined(__386__)
OpenPOWER on IntegriCloud