Skip to content

Commit

Permalink
stdbool.h is already loaded at ruby/internal/stdbool.h
Browse files Browse the repository at this point in the history
  • Loading branch information
hsbt committed Oct 8, 2024
1 parent b49ea6c commit 722396a
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions ext/json/generator/generator.h
Original file line number Diff line number Diff line change
Expand Up @@ -6,9 +6,7 @@

#include "ruby.h"

#ifdef HAVE_STDBOOL_H
#include <stdbool.h>
#else
#ifndef RBIMPL_STDBOOL_H
/* This is the fallback definition from Ruby 3.0.5. */
typedef unsigned char _Bool
#define bool _Bool
Expand Down

0 comments on commit 722396a

Please sign in to comment.