diff options
Diffstat (limited to 'zconf.h')
-rw-r--r-- | zconf.h | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -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.8 1995/04/14 20:59:22 jloup Exp $ */ | 6 | /* $Id: zconf.h,v 1.9 1995/04/29 12:02:14 jloup Exp $ */ |
7 | 7 | ||
8 | #ifndef _ZCONF_H | 8 | #ifndef _ZCONF_H |
9 | #define _ZCONF_H | 9 | #define _ZCONF_H |
@@ -28,6 +28,9 @@ | |||
28 | #if defined(MSDOS) && !defined(__32BIT__) | 28 | #if defined(MSDOS) && !defined(__32BIT__) |
29 | # define MAXSEG_64K | 29 | # define MAXSEG_64K |
30 | #endif | 30 | #endif |
31 | #if !defined(STDC) && (defined(MSDOS) || defined(__STDC__)) | ||
32 | # define STDC | ||
33 | #endif | ||
31 | 34 | ||
32 | #ifdef MAXSEG_64K | 35 | #ifdef MAXSEG_64K |
33 | # define MAX_MEM_LEVEL 8 | 36 | # define MAX_MEM_LEVEL 8 |
@@ -38,7 +41,7 @@ | |||
38 | /* Type declarations */ | 41 | /* Type declarations */ |
39 | 42 | ||
40 | #ifndef __P /* function prototypes */ | 43 | #ifndef __P /* function prototypes */ |
41 | # if defined(__STDC__) || defined(MSDOS) | 44 | # ifdef STDC |
42 | # define __P(args) args | 45 | # define __P(args) args |
43 | # else | 46 | # else |
44 | # define __P(args) () | 47 | # define __P(args) () |
@@ -55,7 +58,7 @@ | |||
55 | typedef unsigned long uLong; /* 32 bits or more */ | 58 | typedef unsigned long uLong; /* 32 bits or more */ |
56 | #endif | 59 | #endif |
57 | #ifndef voidp | 60 | #ifndef voidp |
58 | # if defined(__STDC__) || defined(MSDOS) | 61 | # ifdef STDC |
59 | typedef void *voidp; | 62 | typedef void *voidp; |
60 | # else | 63 | # else |
61 | typedef Byte *voidp; | 64 | typedef Byte *voidp; |