Skip to content

Commit 3e05c53

Browse files
committed
Merge branch 'rj/cygwin-fread-reads-directories'
It turns out that Cygwin also needs the fopen() wrapper that returns failure when a directory is opened for reading. * rj/cygwin-fread-reads-directories: config.mak.uname: set FREAD_READS_DIRECTORIES for cygwin
2 parents a491307 + a5956d6 commit 3e05c53

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

config.mak.uname

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -185,6 +185,7 @@ ifeq ($(uname_O),Cygwin)
185185
SPARSE_FLAGS = -isystem /usr/include/w32api -Wno-one-bit-signed-bitfield
186186
OBJECT_CREATION_USES_RENAMES = UnfortunatelyNeedsTo
187187
COMPAT_OBJS += compat/cygwin.o
188+
FREAD_READS_DIRECTORIES = UnfortunatelyYes
188189
endif
189190
ifeq ($(uname_S),FreeBSD)
190191
NEEDS_LIBICONV = YesPlease

0 commit comments

Comments
 (0)