Permalink
Browse files

mkmf has a global for this test

  • Loading branch information...
1 parent 7475a24 commit a9d1ae74a557ea2e92b79e023870854054b664d2 @tenderlove tenderlove committed Nov 17, 2012
Showing with 1 addition and 2 deletions.
  1. +1 −2 ext/psych/extconf.rb
@@ -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

0 comments on commit a9d1ae7

Please sign in to comment.