From: Keith Packard Date: Thu, 25 Oct 2007 21:36:24 +0000 (-0700) Subject: Build fix for Solaris 10 with GCC. X-Git-Tag: 2.4.91~2 X-Git-Url: https://git.wh0rd.org/?p=fontconfig.git;a=commitdiff_plain;h=7a1a7c0c15793e77cb162dd3393971332896460e Build fix for Solaris 10 with GCC. Solaris 10 with GCC doesn't appear capable of supporting the symbol visibility stuff, so disable it. --- 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"