]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Correct win32 ifndefs
authorJoel Rosdahl <joel@rosdahl.net>
Sun, 14 Aug 2011 10:03:42 +0000 (12:03 +0200)
committerJoel Rosdahl <joel@rosdahl.net>
Sun, 14 Aug 2011 10:03:42 +0000 (12:03 +0200)
util.c

diff --git a/util.c b/util.c
index 98655c17faddb7cf1d7863722aaf3617dbfcc4f7..e2f6e2169be5ebd0cd1e9cac368a08836ff62389 100644 (file)
--- 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