We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 4d8eaa9 commit 1b30370Copy full SHA for 1b30370
include/ruby/internal/stdbool.h
@@ -27,7 +27,7 @@
27
28
#elif defined(__cplusplus)
29
# /* bool is a keyword in C++. */
30
-# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L)
+# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L) && (__cplusplus < 201703L)
31
# include <cstdbool>
32
# endif
33
#
0 commit comments