Build fix for Solaris 10 with GCC.

Solaris 10 with GCC doesn't appear capable of supporting the symbol
visibility stuff, so disable it.
This commit is contained in:
Keith Packard 2007-10-25 14:36:24 -07:00
parent fc990b2e86
commit 7a1a7c0c15
1 changed files with 1 additions and 1 deletions

View File

@ -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"