aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/compat.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/compat.h b/src/compat.h
index e5bfcfe..87ab9fb 100644
--- a/src/compat.h
+++ b/src/compat.h
@@ -20,6 +20,9 @@
#endif
#if !LIBCOMPAT_IS_23
+# ifdef static_assert
+# undef static_assert
+# endif
# define static_assert(e, ...) _Static_assert(e, ""__VA_ARGS__)
#endif