Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP

Loading…

for compiling on mswin #101

Merged
merged 1 commit into from

2 participants

Masaya TARUI Aaron Patterson
Masaya TARUI

I checked only mswin environment.
Maybe it is required for mingw?

Masaya TARUI tarui for compiling on mswin
I checked only mswin environment.
Maybe it is required for mingw?
ad92372
Aaron Patterson tenderlove merged commit b8e9d7e into from
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Commits on Nov 17, 2012
  1. Masaya TARUI

    for compiling on mswin

    tarui authored
    I checked only mswin environment.
    Maybe it is required for mingw?
This page is out of date. Refresh to see the latest.
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:
Something went wrong with that request. Please try again.