From e6d2a8471b89d1c1d9fd84d14f26f516f5f66238 Mon Sep 17 00:00:00 2001 From: Mark Adler Date: Sun, 19 Feb 2012 22:45:10 -0800 Subject: Do not use the visibility attribute if NO_VIZ defined. --- zutil.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'zutil.h') diff --git a/zutil.h b/zutil.h index f422147..13ea44d 100644 --- a/zutil.h +++ b/zutil.h @@ -14,7 +14,7 @@ #define ZUTIL_H #define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0) -#if (GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400 +#if ((GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400) && !defined(NO_VIZ) # define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) #else # define ZLIB_INTERNAL -- cgit v1.2.3-55-g6feb