aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/fuse_common.h4
1 files changed, 1 insertions, 3 deletions
diff --git a/include/fuse_common.h b/include/fuse_common.h
index 77efc5d..582505f 100644
--- a/include/fuse_common.h
+++ b/include/fuse_common.h
@@ -30,9 +30,7 @@
#define FUSE_MAKE_VERSION(maj, min) ((maj) * 100 + (min))
#define FUSE_VERSION FUSE_MAKE_VERSION(FUSE_MAJOR_VERSION, FUSE_MINOR_VERSION)
-#if (defined(__cplusplus) && __cplusplus >= 201103L) || \
- (!defined(__cplusplus) && defined(__STDC_VERSION__) && \
- __STDC_VERSION__ >= 201112L)
+#ifdef HAVE_STATIC_ASSERT
#define fuse_static_assert(condition, message) static_assert(condition, message)
#else
#define fuse_static_assert(condition, message)