From 7a1a7c0c15793e77cb162dd3393971332896460e Mon Sep 17 00:00:00 2001 From: Keith Packard Date: Thu, 25 Oct 2007 14:36:24 -0700 Subject: [PATCH] Build fix for Solaris 10 with GCC. Solaris 10 with GCC doesn't appear capable of supporting the symbol visibility stuff, so disable it. --- src/fcint.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fcint.h b/src/fcint.h index c24d788..ce2ec46 100644 --- a/src/fcint.h +++ b/src/fcint.h @@ -111,7 +111,7 @@ #define FC_BANK_LANGS 0xfcfcfcfc /* slim_internal.h */ -#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) +#if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) && !defined(__sun) #define FcPrivate __attribute__((__visibility__("hidden"))) #define HAVE_GNUC_ATTRIBUTE 1 #include "fcalias.h" -- 2.39.5