mirror of
https://gitlab.gnome.org/GNOME/glib.git
synced 2025-04-20 14:19:16 +02:00
Fix the non-gcc-3.x definitions of G_LIKELY and G_UNLIKELY. (Reported by
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY and G_UNLIKELY. (Reported by Dan Mills)
This commit is contained in:
parent
124138d09e
commit
b75a34b721
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -1,3 +1,8 @@
|
|||||||
|
2002-11-26 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
|
* glib/gmacros.h: Fix the non-gcc-3.x definitions of G_LIKELY
|
||||||
|
and G_UNLIKELY. (Reported by Dan Mills)
|
||||||
|
|
||||||
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
2002-11-25 Matthias Clasen <maclas@gmx.de>
|
||||||
|
|
||||||
* glib/gfileutils.c (g_build_path):
|
* glib/gfileutils.c (g_build_path):
|
||||||
|
@ -225,10 +225,29 @@
|
|||||||
#define G_LIKELY(expr) __builtin_expect (_G_BOOLEAN_EXPR(expr), 1)
|
#define G_LIKELY(expr) __builtin_expect (_G_BOOLEAN_EXPR(expr), 1)
|
||||||
#define G_UNLIKELY(expr) __builtin_expect (_G_BOOLEAN_EXPR(expr), 0)
|
#define G_UNLIKELY(expr) __builtin_expect (_G_BOOLEAN_EXPR(expr), 0)
|
||||||
#else
|
#else
|
||||||
#define G_LIKELY(expr) expr
|
#define G_LIKELY(expr) (expr)
|
||||||
#define G_UNLIKELY(expr) expr
|
#define G_UNLIKELY(expr) (expr)
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#endif /* __G_MACROS_H__ */
|
#endif /* __G_MACROS_H__ */
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user