about summary refs log tree commit diff
path: root/config.h.in
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>1998-10-26 17:59:59 +0000
committerUlrich Drepper <drepper@redhat.com>1998-10-26 17:59:59 +0000
commita8eab8b1402ceff505b0cdee440c02a72cc4307d (patch)
tree8e80293b123361be225adf8e0048ffcdb866349d /config.h.in
parent665a657ef1aec8a605aa33e46a4f701e2fd9eba3 (diff)
downloadglibc-a8eab8b1402ceff505b0cdee440c02a72cc4307d.tar.gz
glibc-a8eab8b1402ceff505b0cdee440c02a72cc4307d.tar.xz
glibc-a8eab8b1402ceff505b0cdee440c02a72cc4307d.zip
Update.
	* include/libc-symbols.h: If HAVE_BUILTIN_EXPECT is not defined
	define __builtin_expect as a macro substituting to the first
	argument.
	* config.h.in: Define HAVE_BUILTIN_EXPECT.
	* configure.in: Add test for __builtin_expect.
Diffstat (limited to 'config.h.in')
-rw-r--r--config.h.in3
1 files changed, 3 insertions, 0 deletions
diff --git a/config.h.in b/config.h.in
index f15e5c7b06..dc1d5bc846 100644
--- a/config.h.in
+++ b/config.h.in
@@ -59,6 +59,9 @@
    with static variable. */
 #undef	HAVE_DWARF2_UNWIND_INFO_STATIC
 
+/* Define if the compiler supports __builtin_expect.  */
+#undef	HAVE_BUILTIN_EXPECT
+
 /* Define if the regparm attribute shall be used for local functions
    (gcc on ix86 only).  */
 #undef	USE_REGPARMS