ruby-changes:50086
From: k0kubun <ko1@a...>
Date: Sun, 4 Feb 2018 22:49:47 +0900 (JST)
Subject: [ruby-changes:50086] k0kubun:r62204 (trunk): mjit.c: another try for fixing solaris build
k0kubun 2018-02-04 22:49:38 +0900 (Sun, 04 Feb 2018) New Revision: 62204 https://svn.ruby-lang.org/cgi-bin/viewvc.cgi?view=revision&revision=62204 Log: mjit.c: another try for fixing solaris build Reverted r62192 and added another try. I prepared Solaris environment but I couldn't reproduce the RubyCI build failure. So I'm testing on trunk. I found the following article and it fixed the same problem with passing `-D__EXTENSIONS__`. So this commit defines `__EXTENSIONS__` for Solaris. https://bitbucket.org/ged/ruby-pg/issues/236/compile-error-usr-include-signalh-92-1 Modified files: trunk/mjit.c Index: mjit.c =================================================================== --- mjit.c (revision 62203) +++ mjit.c (revision 62204) @@ -78,7 +78,10 @@ https://github.com/ruby/ruby/blob/trunk/mjit.c#L78 #include <dlfcn.h> #endif -#include "internal.h" +#ifdef __sun +#define __EXTENSIONS__ 1 +#endif + #include "vm_core.h" #include "mjit.h" #include "version.h" -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/