Skip to content

Commit 97827c1

Browse files
committed
Fix builtin-zlib for Apple
1 parent 20fa476 commit 97827c1

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

deps/libz/zutil.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -127,7 +127,7 @@ extern char z_errmsg[10][21]; /* indexed by 2-zlib_error */
127127
# ifndef Z_SOLO
128128
# if defined(__MWERKS__) && __dest_os != __be_os && __dest_os != __win32_os
129129
# include <unix.h> /* for fdopen */
130-
# else
130+
# elif !defined(__APPLE__)
131131
# ifndef fdopen
132132
# define fdopen(fd,mode) NULL /* No fdopen() */
133133
# endif

0 commit comments

Comments
 (0)