Skip to content

Commit

Permalink
Include unistd.h on DJGPP.
Browse files Browse the repository at this point in the history
  • Loading branch information
madler committed Feb 11, 2024
1 parent 0e95839 commit c983609
Show file tree
Hide file tree
Showing 3 changed files with 6 additions and 18 deletions.
8 changes: 2 additions & 6 deletions zconf.h
Original file line number Diff line number Diff line change
Expand Up @@ -470,12 +470,8 @@ typedef uLong FAR uLongf;
#endif

#ifndef Z_HAVE_UNISTD_H
# ifdef __WATCOMC__
# define Z_HAVE_UNISTD_H
# endif
#endif
#ifndef Z_HAVE_UNISTD_H
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
# if defined(__WATCOMC__) || defined(__GO32__) || \
(defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# define Z_HAVE_UNISTD_H
# endif
#endif
Expand Down
8 changes: 2 additions & 6 deletions zconf.h.cmakein
Original file line number Diff line number Diff line change
Expand Up @@ -472,12 +472,8 @@ typedef uLong FAR uLongf;
#endif

#ifndef Z_HAVE_UNISTD_H
# ifdef __WATCOMC__
# define Z_HAVE_UNISTD_H
# endif
#endif
#ifndef Z_HAVE_UNISTD_H
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
# if defined(__WATCOMC__) || defined(__GO32__) || \
(defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# define Z_HAVE_UNISTD_H
# endif
#endif
Expand Down
8 changes: 2 additions & 6 deletions zconf.h.in
Original file line number Diff line number Diff line change
Expand Up @@ -470,12 +470,8 @@ typedef uLong FAR uLongf;
#endif

#ifndef Z_HAVE_UNISTD_H
# ifdef __WATCOMC__
# define Z_HAVE_UNISTD_H
# endif
#endif
#ifndef Z_HAVE_UNISTD_H
# if defined(_LARGEFILE64_SOURCE) && !defined(_WIN32)
# if defined(__WATCOMC__) || defined(__GO32__) || \
(defined(_LARGEFILE64_SOURCE) && !defined(_WIN32))
# define Z_HAVE_UNISTD_H
# endif
#endif
Expand Down

0 comments on commit c983609

Please sign in to comment.