Sha256: fc5a8bb8f519a38ca873f07b358f289067c007a87f07029abc2e3d48031155a6

Contents?: true

Size: 425 Bytes

Versions: 1

Compression:

Stored size: 425 Bytes

Contents

# frozen_string_literal: true
require 'mkmf'

have_func("rb_enc_interned_str", "ruby.h") # RUBY_VERSION >= 3.0
have_func("rb_hash_new_capa", "ruby.h") # RUBY_VERSION >= 3.2
have_func("rb_hash_bulk_insert", "ruby.h") # Missing on TruffleRuby
have_func("rb_category_warn", "ruby.h") # Missing on TruffleRuby
have_func("strnlen", "string.h") # Missing on Solaris 10

append_cflags("-std=c99")

create_makefile 'json/ext/parser'

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
json-2.9.1 ext/json/ext/parser/extconf.rb