Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

for compiling on mswin

I checked only mswin environment.
Maybe it is required for mingw?
  • Loading branch information...
commit ad923729fc99b1723d80f1f81d790c532eb13521 1 parent de14843
Masaya TARUI 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.