summaryrefslogtreecommitdiff
path: root/include/ruby
diff options
context:
space:
mode:
authorNobuyoshi Nakada <nobu@ruby-lang.org>2025-01-14 19:11:33 +0900
committerTakashi Kokubun <takashikkbn@gmail.com>2025-02-13 17:40:19 -0800
commitb5c921e01074891680b45353519a1e0bfe7c1036 (patch)
treeda4970055b06513f6589f28e070b70595fbcddc6 /include/ruby
parent73690b520da4c3ab680ddc477cacaeaeed75d558 (diff)
[Bug #21024] <cstdbool> header has been useless
And finally deprecated at C++-17. Patched by jprokop (Jarek Prokop).
Diffstat (limited to 'include/ruby')
-rw-r--r--include/ruby/internal/stdbool.h4
1 files changed, 0 insertions, 4 deletions
diff --git a/include/ruby/internal/stdbool.h b/include/ruby/internal/stdbool.h
index 1ca61136ba..7f3e6dcf97 100644
--- a/include/ruby/internal/stdbool.h
+++ b/include/ruby/internal/stdbool.h
@@ -27,10 +27,6 @@
#elif defined(__cplusplus)
# /* bool is a keyword in C++. */
-# if defined(HAVE_STDBOOL_H) && (__cplusplus >= 201103L)
-# include <cstdbool>
-# endif
-#
# ifndef __bool_true_false_are_defined
# define __bool_true_false_are_defined
# endif