From b99295d4417362112cc432c6efcf07b04bc8b0ae Mon Sep 17 00:00:00 2001 From: Patrick von Reth Date: Mon, 11 Mar 2013 10:32:15 +0100 Subject: [PATCH] Don't set ZLIB_INTERNAL on windows, this will remove one warning --- zlib/gzguts.h | 2 +- zlib/zutil.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/zlib/gzguts.h b/zlib/gzguts.h index 0f8fb79f8..1294504e4 100644 --- a/zlib/gzguts.h +++ b/zlib/gzguts.h @@ -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 diff --git a/zlib/zutil.h b/zlib/zutil.h index 258fa8879..63b28346b 100644 --- a/zlib/zutil.h +++ b/zlib/zutil.h @@ -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 -- 2.47.3