about summary refs log tree commit diff
path: root/include
diff options
context:
space:
mode:
authorvan Hauser <vh@thc.org>2020-05-10 10:24:24 +0200
committervan Hauser <vh@thc.org>2020-05-10 10:24:24 +0200
commit2e553bcd69a6852e7feb7e87ce757babfcb26df0 (patch)
tree32685901018d74c8c1835d3d275d2cfb24e05dc0 /include
parent0e5a5f18050d729bc79e4dd5203ca245aa532d85 (diff)
downloadafl++-2e553bcd69a6852e7feb7e87ce757babfcb26df0.tar.gz
code-format
Diffstat (limited to 'include')
-rw-r--r--include/types.h24
1 files changed, 12 insertions, 12 deletions
diff --git a/include/types.h b/include/types.h
index 647044c4..f89221cd 100644
--- a/include/types.h
+++ b/include/types.h
@@ -154,19 +154,19 @@ typedef int64_t s64;
 #define MEM_BARRIER() __asm__ volatile("" ::: "memory")
 
 #if __GNUC__ < 6
-# ifndef likely
-#  define likely(_x) (_x)
-# endif
-# ifndef unlikely
-#  define unlikely(_x) (_x)
-# endif
+#ifndef likely
+#define likely(_x) (_x)
+#endif
+#ifndef unlikely
+#define unlikely(_x) (_x)
+#endif
 #else
-# ifndef likely
-#  define likely(_x) __builtin_expect(!!(_x), 1)
-# endif
-# ifndef unlikely
-#  define unlikely(_x) __builtin_expect(!!(_x), 0)
-# endif
+#ifndef likely
+#define likely(_x) __builtin_expect(!!(_x), 1)
+#endif
+#ifndef unlikely
+#define unlikely(_x) __builtin_expect(!!(_x), 0)
+#endif
 #endif
 
 #endif                                                   /* ! _HAVE_TYPES_H */