blob: 2900881a2b91534ae2c794cd43f478eba75c3b73 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
|
$NetBSD: patch-ad,v 1.1 2008/01/24 20:15:20 joerg Exp $
--- Xfuncproto.h.in.orig 2008-01-24 21:05:17.000000000 +0100
+++ Xfuncproto.h.in
@@ -85,7 +85,7 @@ in this Software without prior written a
# define _X_ATTRIBUTE_PRINTF(x,y)
#endif /* GNUC >= 4 */
-#if defined(__GNUC__) && (__GNUC__ >= 4)
+#if defined(__GNUC__) && (__GNUC__ >= 4) && !defined(__sun__)
# define _X_EXPORT __attribute__((visibility("default")))
# define _X_HIDDEN __attribute__((visibility("hidden")))
# define _X_INTERNAL __attribute__((visibility("internal")))
|