Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/mono.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorZoltan Varga <vargaz@gmail.com>2006-06-28 02:05:17 +0400
committerZoltan Varga <vargaz@gmail.com>2006-06-28 02:05:17 +0400
commit21512f0b770ae53d20addb1615b654c04007e0e2 (patch)
treefaef3910cb9089974d12ebe1f5c2af10c6e77c49 /support
parentfa7dbd80c965869629b62171e3259defba988911 (diff)
2006-06-28 Zoltan Varga <vargaz@gmail.com>
* mph.h (MPH_INTERNAL): Only use this if HAVE_VISIBILITY_HIDDEN is defined since it is not supported on some archs with gcc. svn path=/trunk/mono/; revision=62099
Diffstat (limited to 'support')
-rw-r--r--support/ChangeLog5
-rw-r--r--support/mph.h2
2 files changed, 6 insertions, 1 deletions
diff --git a/support/ChangeLog b/support/ChangeLog
index 03e55b81eaa..009da589472 100644
--- a/support/ChangeLog
+++ b/support/ChangeLog
@@ -1,3 +1,8 @@
+2006-06-28 Zoltan Varga <vargaz@gmail.com>
+
+ * mph.h (MPH_INTERNAL): Only use this if HAVE_VISIBILITY_HIDDEN is
+ defined since it is not supported on some archs with gcc.
+
2006-04-28 Wade Berrier <wberrier@novell.com>
* serial.c: Add sys/filio.h for solaris for FIONREAD
diff --git a/support/mph.h b/support/mph.h
index 0c8b37fdd93..74dab37cb1b 100644
--- a/support/mph.h
+++ b/support/mph.h
@@ -41,7 +41,7 @@
#define MPH_ON_BSD
#endif
-#ifdef __GNUC__
+#ifdef HAVE_VISIBILITY_HIDDEN
#define MPH_INTERNAL __attribute__((visibility("hidden")))
#else
#define MPH_INTERNAL