aboutsummaryrefslogtreecommitdiff
path: root/exec-all.h
diff options
context:
space:
mode:
Diffstat (limited to 'exec-all.h')
-rw-r--r--exec-all.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/exec-all.h b/exec-all.h
index 39cb536adc..ca59597422 100644
--- a/exec-all.h
+++ b/exec-all.h
@@ -28,12 +28,14 @@
#define tostring(s) #s
#endif
+#ifndef likely
#if __GNUC__ < 3
#define __builtin_expect(x, n) (x)
#endif
#define likely(x) __builtin_expect(!!(x), 1)
#define unlikely(x) __builtin_expect(!!(x), 0)
+#endif
#ifdef __i386__
#define REGPARM(n) __attribute((regparm(n)))