summaryrefslogtreecommitdiff
path: root/upb.h
diff options
context:
space:
mode:
Diffstat (limited to 'upb.h')
-rw-r--r--upb.h9
1 files changed, 0 insertions, 9 deletions
diff --git a/upb.h b/upb.h
index eecdba0..64f2c54 100644
--- a/upb.h
+++ b/upb.h
@@ -18,15 +18,6 @@
extern "C" {
#endif
-/* Branch prediction hints for GCC. */
-#ifdef __GNUC__
-#define likely(x) __builtin_expect((x),1)
-#define unlikely(x) __builtin_expect((x),0)
-#else
-#define likely(x) (x)
-#define unlikely(x) (x)
-#endif
-
/* inline if possible, emit standalone code if required. */
#ifndef INLINE
#define INLINE static inline
generated by cgit on debian on lair
contact matthew@masot.net with questions or feedback