summaryrefslogtreecommitdiffstats
path: root/floattypes.h
diff options
context:
space:
mode:
Diffstat (limited to 'floattypes.h')
-rw-r--r--floattypes.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/floattypes.h b/floattypes.h
index fa4cc44..a7c82ce 100644
--- a/floattypes.h
+++ b/floattypes.h
@@ -6,7 +6,7 @@
#include <cassert>
#include <cstdlib>
-#if !(defined __clang__ || defined __gcc__)
+#if !(defined __clang__ || defined __GNUC__ || defined __GNUG__)
#define __builtin_unreachable() (assert(0))
#define __builtin_expect(expr, val) (expr)
#endif
OpenPOWER on IntegriCloud