Skip to content

Commit

Permalink
[Bug #21024] <cstdbool> header is deprecated in C++17
Browse files Browse the repository at this point in the history
  • Loading branch information
nobu committed Jan 11, 2025
1 parent 4d8eaa9 commit 1b30370
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion include/ruby/internal/stdbool.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@

#elif defined(__cplusplus)
# /* bool is a keyword in C++. */
# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L)
# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L) && (__cplusplus < 201703L)
# include <cstdbool>
# endif
#
Expand Down

0 comments on commit 1b30370

Please sign in to comment.