diff options
author | Zoltan Varga <vargaz@gmail.com> | 2006-06-28 02:05:17 +0400 |
---|---|---|
committer | Zoltan Varga <vargaz@gmail.com> | 2006-06-28 02:05:17 +0400 |
commit | 21512f0b770ae53d20addb1615b654c04007e0e2 (patch) | |
tree | faef3910cb9089974d12ebe1f5c2af10c6e77c49 /support | |
parent | fa7dbd80c965869629b62171e3259defba988911 (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/ChangeLog | 5 | ||||
-rw-r--r-- | support/mph.h | 2 |
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 |