diff options
author | Alfred Peng <alfred.peng@sun.com> | 2006-09-29 17:16:47 -0700 |
---|---|---|
committer | Behdad Esfahbod <behdad@behdad.org> | 2006-10-31 21:16:22 -0500 |
commit | a3ac198b0ab380225f8998f20e5423036f0dadcb (patch) | |
tree | 4ce8662827eca467d50a36830ca84d0f64ac23c7 | |
parent | ba8b0c0268e7f2cfcc32b7918730d0b10eadcf61 (diff) |
Add Sun Pro C definition of pixman_private
(cherry picked from c1495742f76ce380aaa48389bc331723b7a3a141 commit)
-rw-r--r-- | pixman/src/slim_internal.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/pixman/src/slim_internal.h b/pixman/src/slim_internal.h index 3d1e9a64f..9a93972f6 100644 --- a/pixman/src/slim_internal.h +++ b/pixman/src/slim_internal.h @@ -49,7 +49,9 @@ #if (__GNUC__ > 3 || (__GNUC__ == 3 && __GNUC_MINOR__ >= 3)) && defined(__ELF__) #define pixman_private __attribute__((__visibility__("hidden"))) -#else +#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550) +#define pixman_private __hidden +#else /* not gcc >= 3.3 and not Sun Studio >= 8 */ #define pixman_private #endif |