Commit 812e6066 authored by Stefan Krah's avatar Stefan Krah

Issue #16745: The gcc visibility pragma is buggy on OpenIndiana and NetBSD.

parent ce8e6d11
......@@ -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"
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment