Skip to content

Commit 00bc8c9

Browse files
committed
mingw: use MSys2's libgen.h
MSys2 actually *does* provide a libgen.h. Let's use it. Signed-off-by: Johannes Schindelin <[email protected]>
1 parent cdaf539 commit 00bc8c9

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

config.mak.uname

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -491,7 +491,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
491491
HAVE_ALLOCA_H = YesPlease
492492
NO_PREAD = YesPlease
493493
NEEDS_CRYPTO_WITH_SSL = YesPlease
494-
NO_LIBGEN_H = YesPlease
495494
NO_POLL = YesPlease
496495
NO_SYMLINK_HEAD = YesPlease
497496
NO_UNIX_SOCKETS = YesPlease
@@ -543,6 +542,7 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
543542
HAVE_LIBCHARSET_H = YesPlease
544543
NO_GETTEXT = YesPlease
545544
COMPAT_CLFAGS += -D__USE_MINGW_ACCESS
545+
NO_LIBGEN_H = YesPlease
546546
else
547547
ifeq ($(shell expr "$(uname_R)" : '2\.'),2)
548548
# MSys2
@@ -572,6 +572,7 @@ else
572572
else
573573
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO
574574
NO_CURL = YesPlease
575+
NO_LIBGEN_H = YesPlease
575576
endif
576577
endif
577578
endif

0 commit comments

Comments
 (0)