Move the compiler-dependency in the G_GNUC_INTERNAL definition from

2007-05-17  Matthias Clasen  <mclasen@redhat.com>

        * configure.in: Move the compiler-dependency in the G_GNUC_INTERNAL
        definition from configure-time to runtime (of the compiler).
        (#438869, Damien Carbery)

        * glib/gdebug.h:
        * glib/gmessages.h:
        * glib/gunicodeprivate.h:
        * glib/gthreadprivate.h: Move G_GNUC_INTERNAL before function
        declarations to fix compilation with sun studio.  (#438873,
        Damien Carbery)


svn path=/trunk/; revision=5497
This commit is contained in:
Matthias Clasen
2007-05-17 16:36:53 +00:00
committed by Matthias Clasen
parent 552ca1e23a
commit 793da74d00
8 changed files with 52 additions and 40 deletions

View File

@@ -52,7 +52,7 @@ typedef enum {
GLIB_VAR gboolean _g_debug_initialized;
GLIB_VAR guint _g_debug_flags;
void _g_debug_init (void) G_GNUC_INTERNAL;
G_GNUC_INTERNAL void _g_debug_init (void);
G_END_DECLS