1
0
mirror of https://sourceware.org/git/glibc.git synced 2025-07-30 22:43:12 +03:00
* 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.
This commit is contained in:
Ulrich Drepper
1998-10-26 17:59:59 +00:00
parent 665a657ef1
commit a8eab8b140
5 changed files with 71 additions and 5 deletions

View File

@ -226,6 +226,11 @@ extern const char _libc_intl_domainname[];
# define internal_function /* empty */
#endif
/* Prepare for the case that `__builtin_expect' is not available. */
#ifndef HAVE_BUILTIN_EXPECT
# define __builtin_expect(expr, val) (expr)
#endif
/* When a reference to SYMBOL is encountered, the linker will emit a
warning message MSG. */
#ifdef HAVE_GNU_LD