kqueue: modernize Struct usage for Ruby 2.5.0dev
commitc8b5c585bc7f1369070f1a9a00752db36fb31552
authorEric Wong <e@80x24.org>
Sat, 15 Apr 2017 00:22:17 +0000 (15 00:22 +0000)
committerEric Wong <e@80x24.org>
Sat, 15 Apr 2017 00:24:46 +0000 (15 00:24 +0000)
tree2284037663e1ed1f03e4c6a91e24681937fb6d52
parentfc95889d3f9bb9129d8c46025bd3ca2847c0b557
kqueue: modernize Struct usage for Ruby 2.5.0dev

Ruby 2.4 deprecates old macros, and it looks like 2.5.0 will
remove RSTRUCT_PTR.
ext/sleepy_penguin/extconf.rb
ext/sleepy_penguin/kqueue.c