aboutsummaryrefslogtreecommitdiff
path: root/zutil.h
diff options
context:
space:
mode:
Diffstat (limited to 'zutil.h')
-rw-r--r--zutil.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/zutil.h b/zutil.h
index 13ea44d..7a409fa 100644
--- a/zutil.h
+++ b/zutil.h
@@ -13,8 +13,7 @@
13#ifndef ZUTIL_H 13#ifndef ZUTIL_H
14#define ZUTIL_H 14#define ZUTIL_H
15 15
16#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0) 16#if ((__GNUC__-0) * 100 + __GNUC_MINOR__-0) >= 303 && !defined(NO_VIZ)
17#if ((GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400) && !defined(NO_VIZ)
18# define ZLIB_INTERNAL __attribute__((visibility ("hidden"))) 17# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
19#else 18#else
20# define ZLIB_INTERNAL 19# define ZLIB_INTERNAL