]> git.wh0rd.org Git - fontconfig.git/commitdiff
Build fix for Solaris 10 with GCC.
authorKeith Packard <keithp@koto.keithp.com>
Thu, 25 Oct 2007 21:36:24 +0000 (14:36 -0700)
committerKeith Packard <keithp@koto.keithp.com>
Thu, 25 Oct 2007 21:36:24 +0000 (14:36 -0700)
Solaris 10 with GCC doesn't appear capable of supporting the symbol
visibility stuff, so disable it.

src/fcint.h

index c24d7885d9843fceec0c21565c973f7ecf27962d..ce2ec4684e105b1f8b3c54faaf8aae762a65740c 100644 (file)
 #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"