Index: third_party/afl/src/types.h |
diff --git a/third_party/afl/src/types.h b/third_party/afl/src/types.h |
index 58d6be51e2d06a20369dbd18694009bae2cdc84b..21d32da6156fce122c6b9d90821bf2b06a5e554f 100644 |
--- a/third_party/afl/src/types.h |
+++ b/third_party/afl/src/types.h |
@@ -44,7 +44,7 @@ typedef uint32_t u32; |
typedef unsigned long long u64; |
#else |
typedef uint64_t u64; |
-#endif /* ^sizeof(...) */ |
+#endif /* ^__x86_64__ */ |
typedef int8_t s8; |
typedef int16_t s16; |
@@ -76,4 +76,7 @@ typedef int64_t s64; |
#define MEM_BARRIER() \ |
asm volatile("" ::: "memory") |
+#define likely(_x) __builtin_expect(!!(_x), 1) |
+#define unlikely(_x) __builtin_expect(!!(_x), 0) |
+ |
#endif /* ! _HAVE_TYPES_H */ |