diff options
author | Junio C Hamano <gitster@pobox.com> | 2013-06-11 13:30:20 -0700 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2013-06-11 13:30:20 -0700 |
commit | e936318aa61760a8fe02557bd3c241136613fb34 (patch) | |
tree | 0c6eba82cb2eecd1a462e702e93aa89b55370462 /abspath.c | |
parent | a62d73e7c6fff96ea7fb2133b3e127a4a4bda957 (diff) | |
parent | 83ff1da3e81824eebf0425ad9200248ea7205c35 (diff) | |
download | git-e936318aa61760a8fe02557bd3c241136613fb34.tar.gz |
Merge branch 'rj/mingw-cygwin'
Update build for Cygwin 1.[57]. Torsten Bögershausen reports that
this is fine with Cygwin 1.7 ($gmane/225824) so let's try moving it
ahead.
* rj/mingw-cygwin:
cygwin: Remove the CYGWIN_V15_WIN32API build variable
mingw: rename WIN32 cpp macro to GIT_WINDOWS_NATIVE
Diffstat (limited to 'abspath.c')
-rw-r--r-- | abspath.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -216,7 +216,7 @@ const char *absolute_path(const char *path) const char *prefix_filename(const char *pfx, int pfx_len, const char *arg) { static char path[PATH_MAX]; -#ifndef WIN32 +#ifndef GIT_WINDOWS_NATIVE if (!pfx_len || is_absolute_path(arg)) return arg; memcpy(path, pfx, pfx_len); |