Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
mkmf has a global for this test
  • Loading branch information
tenderlove committed Nov 17, 2012
1 parent 7475a24 commit a9d1ae7
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions ext/psych/extconf.rb
Expand Up @@ -17,8 +17,7 @@
have_header 'unistd.h'

unless find_header('yaml.h') && find_library('yaml', 'yaml_get_version')
case RUBY_PLATFORM
when /mswin/
if $mswin
$CFLAGS += " -DYAML_DECLARE_STATIC -DHAVE_CONFIG_H"
end

Expand Down

0 comments on commit a9d1ae7

Please sign in to comment.