Do not use the visibility attribute if NO_VIZ defined.
This commit is contained in:
2
gzguts.h
2
gzguts.h
@@ -13,7 +13,7 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0)
|
#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")))
|
# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||||||
#else
|
#else
|
||||||
# define ZLIB_INTERNAL
|
# define ZLIB_INTERNAL
|
||||||
|
|||||||
2
zutil.h
2
zutil.h
@@ -14,7 +14,7 @@
|
|||||||
#define ZUTIL_H
|
#define ZUTIL_H
|
||||||
|
|
||||||
#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0)
|
#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")))
|
# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||||||
#else
|
#else
|
||||||
# define ZLIB_INTERNAL
|
# define ZLIB_INTERNAL
|
||||||
|
|||||||
Reference in New Issue
Block a user