Skip to content

Commit

Permalink
Create extconf header for MSVC
Browse files Browse the repository at this point in the history
Not to include parenthesized argument.
  • Loading branch information
nobu committed Aug 24, 2021
1 parent 4323e68 commit c2c921e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ext/-test-/auto_ext.rb
Original file line number Diff line number Diff line change
Expand Up @@ -6,5 +6,6 @@ def auto_ext(feat = $0[%r[/ext/(-test-/.*)/extconf.rb\z], 1], inc: false)
inits.delete("init")
inits.map! {|s|"X(#{s})"}
$defs << "'-DTEST_INIT_FUNCS(X)=\"#{inits.join(' ')}\"'"
create_header
create_makefile(feat)
end

0 comments on commit c2c921e

Please sign in to comment.