aboutsummaryrefslogtreecommitdiffstats
path: root/common
diff options
context:
space:
mode:
authorChris Robinson <[email protected]>2021-01-22 06:00:36 -0800
committerChris Robinson <[email protected]>2021-01-22 06:00:36 -0800
commitb3dc99a4670e4414c0459893d489258ea9bfc3ad (patch)
tree4c319336c16f229e6c6b171371f619fb69ae4f03 /common
parentcff3693387c6d389f83ca25c7a150ae3395a434b (diff)
Fix __cplusplus value check
Diffstat (limited to 'common')
-rw-r--r--common/opthelpers.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/common/opthelpers.h b/common/opthelpers.h
index df0be2f5..bb0b63fe 100644
--- a/common/opthelpers.h
+++ b/common/opthelpers.h
@@ -36,7 +36,7 @@
#define ASSUME(x) ((void)0)
#endif
-#if __cplusplus >= 201709L || defined(__cpp_if_constexpr)
+#if __cplusplus >= 201703L || defined(__cpp_if_constexpr)
#define if_constexpr if constexpr
#else
#define if_constexpr if