From 6549a866276b1b7f1ad8bf029b3a1db0d897b520 Mon Sep 17 00:00:00 2001 From: drepper Date: Thu, 4 May 2000 02:04:46 +0000 Subject: [PATCH] (__builtin_expect): Define as empty if not a compiler builtin. --- intl/loadinfo.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/intl/loadinfo.h b/intl/loadinfo.h index 585ed11c5e..1e60590ddb 100644 --- a/intl/loadinfo.h +++ b/intl/loadinfo.h @@ -32,6 +32,12 @@ # define internal_function #endif +/* Tell the compiler when a conditional or integer expression is + almost always true or almost always false. */ +#ifndef HAVE_BUILTIN_EXPECT +# define __builtin_expect(expr, val) (expr) +#endif + /* Encoding of locale name parts. */ #define CEN_REVISION 1 #define CEN_SPONSOR 2 -- 2.11.0