Skip to content

Commit 538c6a7

Browse files
committed
Fix compilation error with C23
This fallback already defined at ruby/internal/stdbool.h
1 parent d9c6fdc commit 538c6a7

File tree

1 file changed

+0
-8
lines changed

1 file changed

+0
-8
lines changed

ext/json/ext/generator/generator.h

Lines changed: 0 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -6,14 +6,6 @@
66

77
#include "ruby.h"
88

9-
#ifdef HAVE_STDBOOL_H
10-
#include <stdbool.h>
11-
#else
12-
/* This is the fallback definition from Ruby 3.0.5. */
13-
typedef unsigned char _Bool
14-
#define bool _Bool
15-
#endif
16-
179
#ifdef HAVE_RUBY_RE_H
1810
#include "ruby/re.h"
1911
#else

0 commit comments

Comments
 (0)