From: Joel Rosdahl Date: Sun, 14 Aug 2011 10:03:42 +0000 (+0200) Subject: Correct win32 ifndefs X-Git-Tag: v3.2~178^2~5 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=206b0c182b8fbe1e115039507c4356ee1316a7fa;p=thirdparty%2Fccache.git Correct win32 ifndefs --- diff --git a/util.c b/util.c index 98655c17f..e2f6e2169 100644 --- a/util.c +++ b/util.c @@ -95,6 +95,7 @@ path_max(const char *path) } #endif } +#endif /* !_WIN32 */ /* * Write a message to the CCACHE_LOGFILE location (adding a newline). @@ -855,6 +856,7 @@ value_units(const char *s) return (size_t)v; } +#ifndef _WIN32 /* a sane realpath() function, trying to cope with stupid path limits and a broken API