26 lines
697 B
Diff
26 lines
697 B
Diff
iff --git a/zconf.h.in b/zconf.h.in
|
|
index 828ca61..283de45 100644
|
|
--- a/zconf.h.in
|
|
+++ b/zconf.h.in
|
|
@@ -444,11 +444,19 @@ typedef uLong FAR uLongf;
|
|
#endif
|
|
|
|
#if HAVE_UNISTD_H-0 /* may be set to #if 1 by ./configure */
|
|
-# define Z_HAVE_UNISTD_H
|
|
+# if ~(~HAVE_UNISTD_H + 0) == 0 && ~(~HAVE_UNISTD_H + 1) == 1
|
|
+# define Z_HAVE_UNISTD_H
|
|
+# elif HAVE_UNISTD_H != 0
|
|
+# define Z_HAVE_UNISTD_H
|
|
+# endif
|
|
#endif
|
|
|
|
#if HAVE_STDARG_H-0 /* may be set to #if 1 by ./configure */
|
|
-# define Z_HAVE_STDARG_H
|
|
+# if ~(~HAVE_STDARG_H + 0) == 0 && ~(~HAVE_STDARG_H + 1) == 1
|
|
+# define Z_HAVE_STDARG_H
|
|
+# elif HAVE_STDARG_H != 0
|
|
+# define Z_HAVE_STDARG_H
|
|
+# endif
|
|
#endif
|
|
|
|
#ifdef STDC
|