summaryrefslogtreecommitdiffstats
path: root/src/sord_internal.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/sord_internal.h')
-rw-r--r--src/sord_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sord_internal.h b/src/sord_internal.h
index bfe98f6..ddfe9c6 100644
--- a/src/sord_internal.h
+++ b/src/sord_internal.h
@@ -22,7 +22,7 @@
#include "sord/sord.h"
-#if __GNUC__ > 4 || (__GNUC__ == 4 && __GNUC_MINOR__ >= 5)
+#if defined(__GNUC__) && __GNUC__ > 4
# define SORD_UNREACHABLE() __builtin_unreachable()
#else
# define SORD_UNREACHABLE() assert(false)