Skip to content
This repository
Browse code

Merge pull request #101 from tarui/embed

for compiling on mswin
  • Loading branch information...
commit b8e9d7eb55e59d19de33f828c6979a76d9a0fedc 2 parents de14843 + ad92372
Aaron Patterson authored

Showing 1 changed file with 5 additions and 0 deletions. Show diff stats Hide diff stats

  1. +5 0 ext/psych/extconf.rb
5 ext/psych/extconf.rb
@@ -14,6 +14,11 @@
14 14 have_header 'unistd.h'
15 15 have_header 'config.h'
16 16
  17 +case RUBY_PLATFORM
  18 +when /mswin/
  19 + $CFLAGS += " -DYAML_DECLARE_STATIC -DHAVE_CONFIG_H"
  20 +end
  21 +
17 22 create_makefile 'psych'
18 23
19 24 # :startdoc:

0 comments on commit b8e9d7e

Please sign in to comment.
Something went wrong with that request. Please try again.