aboutsummaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h20
1 files changed, 8 insertions, 12 deletions
diff --git a/zconf.h b/zconf.h
index 69aa21b..5f6e887 100644
--- a/zconf.h
+++ b/zconf.h
@@ -3,7 +3,7 @@
3 * For conditions of distribution and use, see copyright notice in zlib.h 3 * For conditions of distribution and use, see copyright notice in zlib.h
4 */ 4 */
5 5
6/* $Id: zconf.h,v 1.18 1996/05/23 16:51:18 me Exp $ */ 6/* $Id: zconf.h,v 1.20 1996/07/02 15:09:28 me Exp $ */
7 7
8#ifndef _ZCONF_H 8#ifndef _ZCONF_H
9#define _ZCONF_H 9#define _ZCONF_H
@@ -49,8 +49,10 @@
49#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32) 49#if (defined(_WIN32) || defined(__WIN32__)) && !defined(WIN32)
50# define WIN32 50# define WIN32
51#endif 51#endif
52#if (defined(__GNUC__) || defined(WIN32)) && !defined(__32BIT__) 52#if defined(__GNUC__) || defined(WIN32) || defined(__386__) || defined(i386)
53# define __32BIT__ 53# ifndef __32BIT__
54# define __32BIT__
55# endif
54#endif 56#endif
55#if defined(__MSDOS__) && !defined(MSDOS) 57#if defined(__MSDOS__) && !defined(MSDOS)
56# define MSDOS 58# define MSDOS
@@ -80,9 +82,9 @@
80# endif 82# endif
81#endif 83#endif
82 84
83#ifdef __MWERKS__ /* Metrowerks CodeWarrior declares fileno() in unix.h */ 85/* Some Mac compilers merge all .h files incorrectly: */
84# include <unix.h> 86#if defined(__MWERKS__) || defined(applec) ||defined(THINK_C) ||defined(__SC__)
85# define NO_DUMMY_DECL /* buggy compiler merges all .h files incorrectly */ 87# define NO_DUMMY_DECL
86#endif 88#endif
87 89
88/* Maximum value for memLevel in deflateInit2 */ 90/* Maximum value for memLevel in deflateInit2 */
@@ -146,12 +148,6 @@
146#ifndef FAR 148#ifndef FAR
147# define FAR 149# define FAR
148#endif 150#endif
149/* The Watcom compiler defines M_I86SM and __SMALL__ even in 32 bit mode */
150#if defined(__WATCOMC__) && defined(__386__) && defined(SMALL_MEDIUM)
151# undef FAR
152# define FAR
153# undef SMALL_MEDIUM
154#endif
155 151
156typedef unsigned char Byte; /* 8 bits */ 152typedef unsigned char Byte; /* 8 bits */
157typedef unsigned int uInt; /* 16 bits or more */ 153typedef unsigned int uInt; /* 16 bits or more */