diff options
author | Eric Wong <e@80x24.org> | 2023-01-07 21:51:14 +0000 |
---|---|---|
committer | Eric Wong <mwrap-public@80x24.org> | 2023-01-07 21:51:21 +0000 |
commit | a03b72e85011b71e031447b9c8c917e6f2c08c81 (patch) | |
tree | 7351c7ddad83cdb342f5e91fd31307059097f7b0 /ext/mwrap/extconf.rb | |
parent | 13ecb7e5cf4ee769801e53d9df87141c6730e825 (diff) | |
download | mwrap-a03b72e85011b71e031447b9c8c917e6f2c08c81.tar.gz |
drop heap page support for Ruby <= 3.0
Ruby 3.1 uses mmap, nowadays, and I don't think it's worth the effort to suport it since mmap and munmap don't require the symmetry *memalign + free do.
Diffstat (limited to 'ext/mwrap/extconf.rb')
-rw-r--r-- | ext/mwrap/extconf.rb | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/ext/mwrap/extconf.rb b/ext/mwrap/extconf.rb index 1828407..e8d3cc6 100644 --- a/ext/mwrap/extconf.rb +++ b/ext/mwrap/extconf.rb @@ -25,11 +25,4 @@ else abort 'missing __builtin_add_overflow' end -begin - if n = GC::INTERNAL_CONSTANTS[:HEAP_PAGE_SIZE] - $defs << "-DHEAP_PAGE_SIZE=#{n}" - end -rescue NameError -end - create_makefile 'mwrap' |