Skip to content

Commit f6643e0

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 5269287 commit f6643e0

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
@@ -490,7 +490,6 @@ ifneq (,$(findstring MINGW,$(uname_S)))
490490
HAVE_ALLOCA_H = YesPlease
491491
NO_PREAD = YesPlease
492492
NEEDS_CRYPTO_WITH_SSL = YesPlease
493-
NO_LIBGEN_H = YesPlease
494493
NO_POLL = YesPlease
495494
NO_SYMLINK_HEAD = YesPlease
496495
NO_UNIX_SOCKETS = YesPlease
@@ -541,6 +540,7 @@ ifneq (,$(wildcard ../THIS_IS_MSYSGIT))
541540
HAVE_LIBCHARSET_H = YesPlease
542541
NO_GETTEXT = YesPlease
543542
COMPAT_CLFAGS += -D__USE_MINGW_ACCESS
543+
NO_LIBGEN_H = YesPlease
544544
else
545545
ifeq ($(shell expr "$(uname_R)" : '2\.'),2)
546546
# MSys2
@@ -570,6 +570,7 @@ else
570570
else
571571
COMPAT_CFLAGS += -D__USE_MINGW_ANSI_STDIO
572572
NO_CURL = YesPlease
573+
NO_LIBGEN_H = YesPlease
573574
endif
574575
OTHER_PROGRAMS += git-wrapper$(X)
575576
BUILT_IN_WRAPPER = git-wrapper$(X)

0 commit comments

Comments
 (0)