summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gzguts.h2
-rw-r--r--zutil.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/gzguts.h b/gzguts.h
index 6800fa7..735e808 100644
--- a/gzguts.h
+++ b/gzguts.h
@@ -13,7 +13,7 @@
13#endif 13#endif
14 14
15#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0) 15#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0)
16#if (GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400 16#if ((GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400) && !defined(NO_VIZ)
17# define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 17# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
18#else 18#else
19# define ZLIB_INTERNAL 19# define ZLIB_INTERNAL
diff --git a/zutil.h b/zutil.h
index f422147..13ea44d 100644
--- a/zutil.h
+++ b/zutil.h
@@ -14,7 +14,7 @@
14#define ZUTIL_H 14#define ZUTIL_H
15 15
16#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0) 16#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0)
17#if (GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400 17#if ((GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400) && !defined(NO_VIZ)
18# define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 18# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
19#else 19#else
20# define ZLIB_INTERNAL 20# define ZLIB_INTERNAL