mirror of
https://github.com/git/git.git
synced 2026-03-13 18:33:25 +01:00
Fix error 'fatal: Not a git repository' on Vista
Define __USE_MINGW_ACCESS, which changes access( ..., X_OK ) into F_OK. Signed-off-by: Dmitry Kakurin <Dmitry.Kakurin <at> gmail.com>
This commit is contained in:
committed by
Johannes Sixt
parent
205d0cb456
commit
b01b123d9d
2
Makefile
2
Makefile
@@ -493,7 +493,7 @@ ifneq (,$(findstring MINGW,$(uname_S)))
|
||||
NO_STRTOUMAX = YesPlease
|
||||
NO_SVN_TESTS=YesPlease
|
||||
NO_PERL_MAKEMAKER=YesPlease
|
||||
COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -I compat
|
||||
COMPAT_CFLAGS += -DNO_ETC_PASSWD -DNO_ST_BLOCKS -DSTRIP_EXTENSION=\".exe\" -D__USE_MINGW_ACCESS -I compat
|
||||
COMPAT_OBJS += compat/mingw.o compat/fnmatch.o compat/regex.o
|
||||
EXTLIBS += -lws2_32
|
||||
X = .exe
|
||||
|
||||
Reference in New Issue
Block a user