Do not use the visibility attribute if NO_VIZ defined.
This commit is contained in:
parent
8435052a6b
commit
e6d2a8471b
2
gzguts.h
2
gzguts.h
@ -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
|
||||
|
2
zutil.h
2
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
|
||||
|
Loading…
Reference in New Issue
Block a user