Sha256: 012906c44f819783afafe3a820ac3a8c4ec48242d24c39b41967e409385c25ac
Contents?: true
Size: 668 Bytes
Versions: 2
Compression:
Stored size: 668 Bytes
Contents
# -*- encoding: binary -*- # frozen_string_literal: true require 'mkmf' append_cflags("-fvisibility=hidden") append_cflags("-std=c99") have_const("PR_SET_CHILD_SUBREAPER", "sys/prctl.h") have_func("rb_enc_interned_str", "ruby.h") # Ruby 3.0+ have_func("rb_io_descriptor", "ruby.h") # Ruby 3.1+ have_func("rb_hash_new_capa", "ruby.h") # Ruby 3.2+ have_func("getpagesize", "unistd.h") if RUBY_VERSION.start_with?('3.0.') # https://bugs.ruby-lang.org/issues/18772 $CFLAGS << ' -DRB_ENC_INTERNED_STR_NULL_CHECK=1 ' else $CFLAGS << ' -DRB_ENC_INTERNED_STR_NULL_CHECK=0 ' end have_func('epoll_create1', %w(sys/epoll.h)) create_makefile("pitchfork/pitchfork_http")
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
pitchfork-0.16.0 | ext/pitchfork_http/extconf.rb |
pitchfork-0.15.0 | ext/pitchfork_http/extconf.rb |