Use __WATCOMC__ instead of __WATCOM__.
authorMark Adler <madler@alumni.caltech.edu>
Sun, 19 Feb 2012 07:11:49 +0000 (23:11 -0800)
committerMark Adler <madler@alumni.caltech.edu>
Sun, 19 Feb 2012 07:11:49 +0000 (23:11 -0800)
zconf.h
zconf.h.cmakein
zconf.h.in

diff --git a/zconf.h b/zconf.h
index ad82e3b..254d7b5 100644 (file)
--- a/zconf.h
+++ b/zconf.h
@@ -413,7 +413,7 @@ typedef uLong FAR uLongf;
 #  define Z_LARGE
 #endif
 
-#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
+#if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
 #  define Z_HAVE_UNISTD_H
 #endif
 #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
index 6f964b8..8109100 100644 (file)
@@ -415,7 +415,7 @@ typedef uLong FAR uLongf;
 #  define Z_LARGE
 #endif
 
-#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
+#if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
 #  define Z_HAVE_UNISTD_H
 #endif
 #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
index ad82e3b..254d7b5 100644 (file)
@@ -413,7 +413,7 @@ typedef uLong FAR uLongf;
 #  define Z_LARGE
 #endif
 
-#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
+#if defined(__WATCOMC__) && !defined(Z_HAVE_UNISTD_H)
 #  define Z_HAVE_UNISTD_H
 #endif
 #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)