(__builtin_expect): Define as empty if not a compiler builtin.
authordrepper <drepper>
Thu, 4 May 2000 02:04:46 +0000 (02:04 +0000)
committerdrepper <drepper>
Thu, 4 May 2000 02:04:46 +0000 (02:04 +0000)
intl/loadinfo.h

index 585ed11..1e60590 100644 (file)
 # 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