Sha256: 662ef136e7966f7d2186aeb3d5f2777f2b8e3d28f190dd6f224095196f1d7d12

Contents?: true

Size: 422 Bytes

Versions: 1

Compression:

Stored size: 422 Bytes

Contents

# -*- encoding: binary -*-
require 'mkmf'

have_const("PR_SET_CHILD_SUBREAPER", "sys/prctl.h")
have_func("rb_enc_interned_str", "ruby.h") # Ruby 3.0+
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_http")

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
pitchfork-0.1.0 ext/pitchfork_http/extconf.rb