mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-01-26 22:16:16 +01:00
Fix visibility checks
svn path=/trunk/; revision=5504
This commit is contained in:
parent
4ebbb74b98
commit
8ab346fc86
@ -1,3 +1,8 @@
|
|||||||
|
2007-05-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
|
* configure.in: Try again to move the compiler-dependency
|
||||||
|
of G_GNUC_INTERNAL to runtime.
|
||||||
|
|
||||||
2007-05-18 Matthias Clasen <mclasen@redhat.com>
|
2007-05-18 Matthias Clasen <mclasen@redhat.com>
|
||||||
|
|
||||||
* configure.in: Don't let PERL_PATH be ''. (#356769, Joseph Sacco)
|
* configure.in: Don't let PERL_PATH be ''. (#356769, Joseph Sacco)
|
||||||
|
@ -2509,11 +2509,15 @@ _______EOF
|
|||||||
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
|
if test x$g_have_gnuc_visibility = xyes; then
|
||||||
|
cat >>$outfile <<_______EOF
|
||||||
|
#define G_HAVE_GNUC_VISIBILITY 1
|
||||||
|
_______EOF
|
||||||
|
fi
|
||||||
cat >>$outfile <<_______EOF
|
cat >>$outfile <<_______EOF
|
||||||
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
|
#if __GNUC__ == 2 && __GNUC_MINOR__ == 95
|
||||||
#define G_GNUC_INTERNAL
|
#define G_GNUC_INTERNAL
|
||||||
#elif defined (__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303)
|
#elif defined (__GNUC__) && ((__GNUC__ * 100 + __GNUC_MINOR__) >= 303)
|
||||||
#define G_HAVE_GNUC_VISIBILITY 1
|
|
||||||
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
#define G_GNUC_INTERNAL __attribute__((visibility("hidden")))
|
||||||
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
#elif defined(__SUNPRO_C) && (__SUNPRO_C >= 0x550)
|
||||||
#define G_GNUC_INTERNAL __hidden
|
#define G_GNUC_INTERNAL __hidden
|
||||||
|
Loading…
Reference in New Issue
Block a user