提交 e6d2a847 编写于 作者: M Mark Adler

Do not use the visibility attribute if NO_VIZ defined.

上级 8435052a
......@@ -13,7 +13,7 @@
#endif
#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
......
......@@ -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
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册