]> git.ipfire.org Git - thirdparty/ccache.git/commitdiff
Don't set ZLIB_INTERNAL on windows, this will remove one warning
authorPatrick von Reth <vonreth@kde.org>
Mon, 11 Mar 2013 09:32:15 +0000 (10:32 +0100)
committerJoel Rosdahl <joel@rosdahl.net>
Sat, 16 Mar 2013 15:49:51 +0000 (16:49 +0100)
zlib/gzguts.h
zlib/zutil.h

index 0f8fb79f87d4f65e7f5667129c763e3a361199f2..1294504e40ce2ea192091bf1fe9f06f16d2b8444 100644 (file)
@@ -12,7 +12,7 @@
 #  endif
 #endif
 
-#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ)
+#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ) && !defined(_WIN32)
 #  define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
 #else
 #  define ZLIB_INTERNAL
index 258fa88799ad1d97e44fe1ac9df77948e82ea5c0..63b28346b7dfa9c068e715dbe5e5bd319e03f42e 100644 (file)
@@ -13,7 +13,7 @@
 #ifndef ZUTIL_H
 #define ZUTIL_H
 
-#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ)
+#if ((__GNUC__-0) * 10 + __GNUC_MINOR__-0 >= 33) && !defined(NO_VIZ) && !defined(_WIN32)
 #  define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
 #else
 #  define ZLIB_INTERNAL