summaryrefslogtreecommitdiffstats
path: root/src/corelib/kernel/qmath.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/corelib/kernel/qmath.h')
-rw-r--r--src/corelib/kernel/qmath.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/kernel/qmath.h b/src/corelib/kernel/qmath.h
index 4c5a980f3a..98251c0b57 100644
--- a/src/corelib/kernel/qmath.h
+++ b/src/corelib/kernel/qmath.h
@@ -47,7 +47,7 @@
#include <QtCore/qglobal.h>
#include <QtCore/qalgorithms.h>
-#if __has_include(<bit>)
+#if __has_include(<bit>) && __cplusplus > 201703L
#include <bit>
#endif