projects
/
kopensolaris-gnu
/
glibc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(from parent 1:
1633f03
)
(__builtin_expect): Define as empty if not a compiler builtin.
author
drepper
<drepper>
Thu, 4 May 2000 02:04:46 +0000
(
02:04
+0000)
committer
drepper
<drepper>
Thu, 4 May 2000 02:04:46 +0000
(
02:04
+0000)
intl/loadinfo.h
patch
|
blob
|
history
diff --git
a/intl/loadinfo.h
b/intl/loadinfo.h
index
585ed11
..
1e60590
100644
(file)
--- 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