diff options
author | Junio C Hamano <gitster@pobox.com> | 2012-11-20 10:44:29 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2012-11-20 10:44:29 -0800 |
commit | 2f2c7e12524e337dff7dae9df7b431c81f150136 (patch) | |
tree | 2e76a15c717f05cefe9e7a5075f7e02bf545ca0a /Makefile | |
parent | 9cfe5f4be36facb593d29d54a3b77e539bd39e87 (diff) | |
parent | 9fca6cffc05321445b59c91e8f8d308f41588b53 (diff) | |
download | git-2f2c7e12524e337dff7dae9df7b431c81f150136.tar.gz |
Merge branch 'ml/cygwin-mingw-headers'
Make git compile on cygwin with newer header files.
* ml/cygwin-mingw-headers:
USE CGYWIN_V15_WIN32API as macro to select api for cygwin
Update cygwin.c for new mingw-64 win32 api headers
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
@@ -1086,6 +1086,7 @@ ifeq ($(uname_O),Cygwin) NO_SYMLINK_HEAD = YesPlease NO_IPV6 = YesPlease OLD_ICONV = UnfortunatelyYes + CYGWIN_V15_WIN32API = YesPlease endif NO_THREAD_SAFE_PREAD = YesPlease NEEDS_LIBICONV = YesPlease @@ -1897,6 +1898,9 @@ ifdef NO_REGEX COMPAT_CFLAGS += -Icompat/regex COMPAT_OBJS += compat/regex/regex.o endif +ifdef CYGWIN_V15_WIN32API + COMPAT_CFLAGS += -DCYGWIN_V15_WIN32API +endif ifdef USE_NED_ALLOCATOR COMPAT_CFLAGS += -Icompat/nedmalloc |