X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=setup.c;h=029371e5844a1069d62456c6bb51028efbb671c4;hb=33405be34bcb72d8fe69463c80c542eacb19b7ef;hp=e3781b656d77be94e04c5229e6a190c5fc496490;hpb=130b04ab37d74e574d525df7948b963b13c6bdbf;p=git.git diff --git a/setup.c b/setup.c index e3781b656..029371e58 100644 --- a/setup.c +++ b/setup.c @@ -41,7 +41,7 @@ const char *prefix_path(const char *prefix, int len, const char *path) const char *prefix_filename(const char *pfx, int pfx_len, const char *arg) { static char path[PATH_MAX]; -#ifndef __MINGW32__ +#ifndef WIN32 if (!pfx || !*pfx || is_absolute_path(arg)) return arg; memcpy(path, pfx, pfx_len);