Simplify the inlining magic to make it work at Oh zero. (#162990, Kalpesh

2005-01-05  Matthias Clasen  <mclasen@redhat.com>

	* glib/gutils.h: Simplify the inlining magic to make it
	work at Oh zero.  (#162990, Kalpesh Shah)
This commit is contained in:
Matthias Clasen 2005-01-05 20:10:57 +00:00 committed by Matthias Clasen
parent b7de9fc3b6
commit 0bf9bc065c
6 changed files with 27 additions and 2 deletions

View File

@ -1,3 +1,8 @@
2005-01-05 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Simplify the inlining magic to make it
work at Oh zero. (#162990, Kalpesh Shah)
2005-01-04 Tor Lillqvist <tml@iki.fi> 2005-01-04 Tor Lillqvist <tml@iki.fi>
* glib/guniprop.c (get_locale_type): Use g_win32_getlocale() * glib/guniprop.c (get_locale_type): Use g_win32_getlocale()

View File

@ -1,3 +1,8 @@
2005-01-05 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Simplify the inlining magic to make it
work at Oh zero. (#162990, Kalpesh Shah)
2005-01-04 Tor Lillqvist <tml@iki.fi> 2005-01-04 Tor Lillqvist <tml@iki.fi>
* glib/guniprop.c (get_locale_type): Use g_win32_getlocale() * glib/guniprop.c (get_locale_type): Use g_win32_getlocale()

View File

@ -1,3 +1,8 @@
2005-01-05 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Simplify the inlining magic to make it
work at Oh zero. (#162990, Kalpesh Shah)
2005-01-04 Tor Lillqvist <tml@iki.fi> 2005-01-04 Tor Lillqvist <tml@iki.fi>
* glib/guniprop.c (get_locale_type): Use g_win32_getlocale() * glib/guniprop.c (get_locale_type): Use g_win32_getlocale()

View File

@ -1,3 +1,8 @@
2005-01-05 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Simplify the inlining magic to make it
work at Oh zero. (#162990, Kalpesh Shah)
2005-01-04 Tor Lillqvist <tml@iki.fi> 2005-01-04 Tor Lillqvist <tml@iki.fi>
* glib/guniprop.c (get_locale_type): Use g_win32_getlocale() * glib/guniprop.c (get_locale_type): Use g_win32_getlocale()

View File

@ -1,3 +1,8 @@
2005-01-05 Matthias Clasen <mclasen@redhat.com>
* glib/gutils.h: Simplify the inlining magic to make it
work at Oh zero. (#162990, Kalpesh Shah)
2005-01-04 Tor Lillqvist <tml@iki.fi> 2005-01-04 Tor Lillqvist <tml@iki.fi>
* glib/guniprop.c (get_locale_type): Use g_win32_getlocale() * glib/guniprop.c (get_locale_type): Use g_win32_getlocale()

View File

@ -94,9 +94,9 @@ G_BEGIN_DECLS
#endif #endif
#ifdef G_IMPLEMENT_INLINES #ifdef G_IMPLEMENT_INLINES
# define G_INLINE_FUNC # define G_INLINE_FUNC
#elif defined (__GNUC__) && defined (__OPTIMIZE__) #elif defined (__GNUC__)
# define G_INLINE_FUNC extern inline # define G_INLINE_FUNC extern inline
#elif defined (G_CAN_INLINE) && !defined (__GNUC__) #elif defined (G_CAN_INLINE)
# define G_INLINE_FUNC static inline # define G_INLINE_FUNC static inline
#else /* can't inline */ #else /* can't inline */
# define G_INLINE_FUNC # define G_INLINE_FUNC