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
(parent:
5a27862
)
(__builtin_expect): Define as empty if not a compiler builtin.
author
drepper
<drepper>
Thu, 4 May 2000 02:04:33 +0000
(
02:04
+0000)
committer
drepper
<drepper>
Thu, 4 May 2000 02:04:33 +0000
(
02:04
+0000)
intl/gettextP.h
patch
|
blob
|
history
diff --git
a/intl/gettextP.h
b/intl/gettextP.h
index
26d9de0
..
8df6147
100644
(file)
--- a/
intl/gettextP.h
+++ b/
intl/gettextP.h
@@
-44,6
+44,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
+
#ifndef W
# define W(flag, data) ((flag) ? SWAP (data) : (data))
#endif