Bug 612234 Part 3: Make internal pixman functions hidden for Solaris Studio compiler r=jmuizelaar a=blocking-2.0

This commit is contained in:
Ginn Chen 2010-11-30 14:38:47 +08:00
Родитель 70874a8f3b
Коммит 11d84e7345
2 изменённых файлов: 9 добавлений и 0 удалений

Просмотреть файл

@ -162,6 +162,8 @@ pixman-rename-and-endian.patch: include cairo-platform.h for renaming of externa
NOTE: we previously supported ARM assembler on MSVC, this has been removed because of the maintenance burden
pixman-export.patch: use cairo_public for PIXMAN_EXPORT to make sure pixman symbols are not exported in libxul
==== disable printing patch ====
disable-printing.patch: allows us to use NS_PRINTING to disable printing.

Просмотреть файл

@ -64,6 +64,11 @@
# endif
#endif
/* In libxul builds we don't ever want to export pixman symbols */
#ifdef cairo_public
# define PIXMAN_EXPORT cairo_public
#else
/* GCC visibility */
#if defined(__GNUC__) && __GNUC__ >= 4 && !defined(_WIN32)
# define PIXMAN_EXPORT __attribute__ ((visibility("default")))
@ -74,6 +79,8 @@
# define PIXMAN_EXPORT
#endif
#endif /* cairo_public */
/* TLS */
#if defined(PIXMAN_NO_TLS)