Skip to content

Commit

Permalink
Merge branch 'ml/cygwin-mingw-headers' into next
Browse files Browse the repository at this point in the history
Finishing touch to rename a confusingly named preprocessor macro.

Will merge to 'master' in the sixth batch.

* ml/cygwin-mingw-headers:
  USE CGYWIN_V15_WIN32API as macro to select api for cygwin
  • Loading branch information
gitster committed Nov 19, 2012
2 parents 7d2aa24 + 9fca6cf commit f9964da
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
6 changes: 3 additions & 3 deletions Makefile
Expand Up @@ -1089,7 +1089,7 @@ ifeq ($(uname_O),Cygwin)
NO_SYMLINK_HEAD = YesPlease
NO_IPV6 = YesPlease
OLD_ICONV = UnfortunatelyYes
V15_MINGW_HEADERS = YesPlease
CYGWIN_V15_WIN32API = YesPlease
endif
NO_THREAD_SAFE_PREAD = YesPlease
NEEDS_LIBICONV = YesPlease
Expand Down Expand Up @@ -1901,8 +1901,8 @@ ifdef NO_REGEX
COMPAT_CFLAGS += -Icompat/regex
COMPAT_OBJS += compat/regex/regex.o
endif
ifdef V15_MINGW_HEADERS
COMPAT_CFLAGS += -DV15_MINGW_HEADERS
ifdef CYGWIN_V15_WIN32API
COMPAT_CFLAGS += -DCYGWIN_V15_WIN32API
endif

ifdef USE_NED_ALLOCATOR
Expand Down
2 changes: 1 addition & 1 deletion compat/cygwin.c
@@ -1,5 +1,5 @@
#define WIN32_LEAN_AND_MEAN
#ifdef V15_MINGW_HEADERS
#ifdef CYGWIN_V15_WIN32API
#include "../git-compat-util.h"
#include "win32.h"
#else
Expand Down

0 comments on commit f9964da

Please sign in to comment.