Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Merge pull request #101 from tarui/embed

for compiling on mswin
  • Loading branch information...
commit b8e9d7eb55e59d19de33f828c6979a76d9a0fedc 2 parents de14843 + ad92372
Aaron Patterson authored
Showing with 5 additions and 0 deletions.
  1. +5 −0 ext/psych/extconf.rb
5 ext/psych/extconf.rb
View
@@ -14,6 +14,11 @@
have_header 'unistd.h'
have_header 'config.h'
+case RUBY_PLATFORM
+when /mswin/
+ $CFLAGS += " -DYAML_DECLARE_STATIC -DHAVE_CONFIG_H"
+end
+
create_makefile 'psych'
# :startdoc:
Please sign in to comment.
Something went wrong with that request. Please try again.