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 0b74bcd..c33dace 100644
--- a/src/sord_internal.h
+++ b/src/sord_internal.h
@@ -22,7 +22,7 @@
#include <stddef.h>
-#if defined(__GNUC__) && __GNUC__ > 4
+#if defined(__clang__) || (defined(__GNUC__) && __GNUC__ > 4)
# define SORD_UNREACHABLE() __builtin_unreachable()
#else
# include <assert.h>