提交 10fca844 编写于 作者: M Mark Adler

Include unistd.h for Watcom C.

上级 a75d6ea0
...@@ -413,6 +413,9 @@ typedef uLong FAR uLongf; ...@@ -413,6 +413,9 @@ typedef uLong FAR uLongf;
# define Z_LARGE # define Z_LARGE
#endif #endif
#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
# define Z_HAVE_UNISTD_H
#endif
#if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
# include <unistd.h> /* for SEEK_* and off_t */ # include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS # ifdef VMS
......
...@@ -415,6 +415,9 @@ typedef uLong FAR uLongf; ...@@ -415,6 +415,9 @@ typedef uLong FAR uLongf;
# define Z_LARGE # define Z_LARGE
#endif #endif
#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
# define Z_HAVE_UNISTD_H
#endif
#if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
# include <unistd.h> /* for SEEK_* and off_t */ # include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS # ifdef VMS
......
...@@ -413,6 +413,9 @@ typedef uLong FAR uLongf; ...@@ -413,6 +413,9 @@ typedef uLong FAR uLongf;
# define Z_LARGE # define Z_LARGE
#endif #endif
#if defined(__WATCOM__) && !defined(Z_HAVE_UNISTD_H)
# define Z_HAVE_UNISTD_H
#endif
#if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO) #if (defined(Z_HAVE_UNISTD_H) || defined(Z_LARGE)) && !defined(Z_SOLO)
# include <unistd.h> /* for SEEK_* and off_t */ # include <unistd.h> /* for SEEK_* and off_t */
# ifdef VMS # ifdef VMS
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册