Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.
This commit is contained in:
parent
66a6f3fa81
commit
f03eee12b4
|
@ -70,7 +70,8 @@ extern "C" {
|
|||
#else
|
||||
#define UNUSED
|
||||
#endif
|
||||
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(__INTEL_COMPILER)
|
||||
#if (defined(__linux__) || defined(__FreeBSD__) || defined(__APPLE__)) && \
|
||||
defined(__GNUC__) && __GNUC__ >= 4 && !defined(__INTEL_COMPILER)
|
||||
#define MPD_PRAGMA(x) _Pragma(x)
|
||||
#define MPD_HIDE_SYMBOLS_START "GCC visibility push(hidden)"
|
||||
#define MPD_HIDE_SYMBOLS_END "GCC visibility pop"
|
||||
|
|
Loading…
Reference in New Issue