Include unistd.h on DJGPP.

This commit is contained in:
Mark Adler 2024-02-10 19:59:11 -08:00
parent 0e95839324
commit c983609168
3 changed files with 6 additions and 18 deletions

View File

@ -470,12 +470,8 @@ typedef uLong FAR uLongf;
#endif #endif
#ifndef Z_HAVE_UNISTD_H #ifndef Z_HAVE_UNISTD_H
# ifdef __WATCOMC__ # if defined(__WATCOMC__) || defined(__GO32__) || \
# define Z_HAVE_UNISTD_H (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# endif
#endif
#ifndef Z_HAVE_UNISTD_H
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
# define Z_HAVE_UNISTD_H # define Z_HAVE_UNISTD_H
# endif # endif
#endif #endif

View File

@ -472,12 +472,8 @@ typedef uLong FAR uLongf;
#endif #endif
#ifndef Z_HAVE_UNISTD_H #ifndef Z_HAVE_UNISTD_H
# ifdef __WATCOMC__ # if defined(__WATCOMC__) || defined(__GO32__) || \
# define Z_HAVE_UNISTD_H (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# endif
#endif
#ifndef Z_HAVE_UNISTD_H
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
# define Z_HAVE_UNISTD_H # define Z_HAVE_UNISTD_H
# endif # endif
#endif #endif

View File

@ -470,12 +470,8 @@ typedef uLong FAR uLongf;
#endif #endif
#ifndef Z_HAVE_UNISTD_H #ifndef Z_HAVE_UNISTD_H
# ifdef __WATCOMC__ # if defined(__WATCOMC__) || defined(__GO32__) || \
# define Z_HAVE_UNISTD_H (defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# endif
#endif
#ifndef Z_HAVE_UNISTD_H
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
# define Z_HAVE_UNISTD_H # define Z_HAVE_UNISTD_H
# endif # endif
#endif #endif