summaryrefslogtreecommitdiff
path: root/zconf.h
diff options
context:
space:
mode:
authorMark Adler <madler@alumni.caltech.edu>2011-09-09 23:03:14 -0700
committerMark Adler <madler@alumni.caltech.edu>2011-09-09 23:03:14 -0700
commit4ca984fb447ac57120c394cf2fbba23837ed31c2 (patch)
tree3525a9d186dbb328209747e2d57cb9642ebca0fd /zconf.h
parent913afb9174bb474104049906c1382dec81826424 (diff)
downloadzlib-4ca984fb447ac57120c394cf2fbba23837ed31c2.tar.gz
zlib 0.8v0.8
Diffstat (limited to 'zconf.h')
-rw-r--r--zconf.h9
1 files changed, 6 insertions, 3 deletions
diff --git a/zconf.h b/zconf.h
index f08793b..bcd8510 100644
--- a/zconf.h
+++ b/zconf.h
@@ -3,7 +3,7 @@
* For conditions of distribution and use, see copyright notice in zlib.h
*/
-/* $Id: zconf.h,v 1.8 1995/04/14 20:59:22 jloup Exp $ */
+/* $Id: zconf.h,v 1.9 1995/04/29 12:02:14 jloup Exp $ */
#ifndef _ZCONF_H
#define _ZCONF_H
@@ -28,6 +28,9 @@
#if defined(MSDOS) && !defined(__32BIT__)
# define MAXSEG_64K
#endif
+#if !defined(STDC) && (defined(MSDOS) || defined(__STDC__))
+# define STDC
+#endif
#ifdef MAXSEG_64K
# define MAX_MEM_LEVEL 8
@@ -38,7 +41,7 @@
/* Type declarations */
#ifndef __P /* function prototypes */
-# if defined(__STDC__) || defined(MSDOS)
+# ifdef STDC
# define __P(args) args
# else
# define __P(args) ()
@@ -55,7 +58,7 @@
typedef unsigned long uLong; /* 32 bits or more */
#endif
#ifndef voidp
-# if defined(__STDC__) || defined(MSDOS)
+# ifdef STDC
typedef void *voidp;
# else
typedef Byte *voidp;