Sha256: bfaac60b874dbdba2885280c3eb201d814234898ca76bbb4fd922b8824e527b6

Contents?: true

Size: 590 Bytes

Versions: 2

Compression:

Stored size: 590 Bytes

Contents

# frozen_string_literal: true

require "mkmf"

# For testing in CI (because I don't otherwise have easy access to Mac OS):
# $CFLAGS << " -D__D_HEAP_DEBUG" if /darwin/ =~ RUBY_PLATFORM
# $CFLAGS << " -debug inline-debug-info "
# $CFLAGS << " -g -ginline-points "
# $CFLAGS << " -fno-omit-frame-pointer "

if enable_config("debug")
  CONFIG["warnflags"] << " -Werror -Wpedantic "
end

have_func "rb_gc_mark_movable" # since ruby-2.7

check_sizeof("long")
check_sizeof("unsigned long long")
check_sizeof("long double")
have_macro("LDBL_MANT_DIG", "float.h")

create_makefile("d_heap/d_heap")

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
d_heap-0.6.1 ext/d_heap/extconf.rb
d_heap-0.6.0 ext/d_heap/extconf.rb