X-Git-Url: https://git.tokkee.org/?a=blobdiff_plain;f=setup.c;h=029371e5844a1069d62456c6bb51028efbb671c4;hb=6e4ece61ff9c4c0a0c7eac43fca74ca1b5548e98;hp=e3781b656d77be94e04c5229e6a190c5fc496490;hpb=f0df1293acdba9513cae17e2c63b4169f1347371;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);