glib r7760 - trunk
- From: matthiasc svn gnome org
- To: svn-commits-list gnome org
- Subject: glib r7760 - trunk
- Date: Sat, 3 Jan 2009 01:00:38 +0000 (UTC)
Author: matthiasc
Date: Sat Jan 3 01:00:38 2009
New Revision: 7760
URL: http://svn.gnome.org/viewvc/glib?rev=7760&view=rev
Log:
* configure.in: Use visibility attribute for new enough sun cc.
Patch by Chris Wang
Modified:
trunk/ChangeLog
trunk/configure.in
Modified: trunk/configure.in
==============================================================================
--- trunk/configure.in (original)
+++ trunk/configure.in Sat Jan 3 01:00:38 2009
@@ -2877,13 +2877,15 @@
_______EOF
fi
cat >>$outfile <<_______EOF
-#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
+#if defined(__SUNPRO_C) && (__SUNPRO_C >= 0x590)
+#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
+#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
#define G_GNUC_INTERNAL __hidden
#elif defined (__GNUC__) && defined (G_HAVE_GNUC_VISIBILITY)
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
#else
#define G_GNUC_INTERNAL
-#endif
+#endif
_______EOF
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]