Improve the detection of no hidden visibility attribute.
This commit is contained in:
3
zutil.h
3
zutil.h
@@ -13,8 +13,7 @@
|
||||
#ifndef ZUTIL_H
|
||||
#define ZUTIL_H
|
||||
|
||||
#define GCC_VER ((__GNUC__-0) * 100 + __GNUC_MINOR__-0)
|
||||
#if ((GCC_VER >= 303 && !defined(__APPLE__)) || GCC_VER >= 400) && !defined(NO_VIZ)
|
||||
#if ((__GNUC__-0) * 100 + __GNUC_MINOR__-0) >= 303 && !defined(NO_VIZ)
|
||||
# define ZLIB_INTERNAL __attribute__((visibility ("hidden")))
|
||||
#else
|
||||
# define ZLIB_INTERNAL
|
||||
|
||||
Reference in New Issue
Block a user