Skip to content

Commit 1b30370

Browse files
committed
[Bug #21024] <cstdbool> header is deprecated in C++17
1 parent 4d8eaa9 commit 1b30370

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/ruby/internal/stdbool.h

+1-1
Original file line numberDiff line numberDiff line change
@@ -27,7 +27,7 @@
2727

2828
#elif defined(__cplusplus)
2929
# /* bool is a keyword in C++. */
30-
# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L)
30+
# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L) && (__cplusplus < 201703L)
3131
# include <cstdbool>
3232
# endif
3333
#

0 commit comments

Comments
 (0)