Skip to content

Commit 035b76b

Browse files
Ramsay Jonesgitster
authored andcommitted
Makefile: merge two Cygwin configuration sections into one
Signed-off-by: Ramsay Jones <[email protected]> Signed-off-by: Junio C Hamano <[email protected]>
1 parent 78d553b commit 035b76b

File tree

1 file changed

+2
-4
lines changed

1 file changed

+2
-4
lines changed

Makefile

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -782,6 +782,8 @@ ifeq ($(uname_O),Cygwin)
782782
NO_MMAP = YesPlease
783783
NO_IPV6 = YesPlease
784784
X = .exe
785+
COMPAT_OBJS += compat/cygwin.o
786+
UNRELIABLE_FSTAT = UnfortunatelyYes
785787
endif
786788
ifeq ($(uname_S),FreeBSD)
787789
NEEDS_LIBICONV = YesPlease
@@ -891,10 +893,6 @@ ifeq ($(uname_S),HP-UX)
891893
NO_SYS_SELECT_H = YesPlease
892894
SNPRINTF_RETURNS_BOGUS = YesPlease
893895
endif
894-
ifneq (,$(findstring CYGWIN,$(uname_S)))
895-
COMPAT_OBJS += compat/cygwin.o
896-
UNRELIABLE_FSTAT = UnfortunatelyYes
897-
endif
898896
ifdef MSVC
899897
GIT_VERSION := $(GIT_VERSION).MSVC
900898
pathsep = ;

0 commit comments

Comments
 (0)