Skip to content

Commit 4e6fb35

Browse files
Merge pull request #316 from ruby/katei/fix-rubyapi-condition
2 parents 8f13365 + d659b4a commit 4e6fb35

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

ext/witapi/witapi-core.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -335,7 +335,7 @@ _Static_assert(RUBY_API_VERSION_MAJOR == 3, "unsupported Ruby version");
335335
void rb_vm_bugreport(const void *);
336336

337337
void rb_abi_guest_rb_vm_bugreport(void) { rb_vm_bugreport(NULL); }
338-
#elif RUBY_API_VERSION_MINOR == 3
338+
#elif RUBY_API_VERSION_MINOR >= 3
339339
bool rb_vm_bugreport(const void *, FILE *);
340340

341341
void rb_abi_guest_rb_vm_bugreport(void) { rb_vm_bugreport(NULL, stderr); }

0 commit comments

Comments
 (0)