ruby-changes:59067
From: Yusuke <ko1@a...>
Date: Wed, 4 Dec 2019 21:01:52 +0900 (JST)
Subject: [ruby-changes:59067] dbfd4b780e (master): coroutine/ucontext/Context.c: Include "ruby/config.h" for Solaris
https://git.ruby-lang.org/ruby.git/commit/?id=dbfd4b780e From dbfd4b780e3914a3f27e92c2248254452bf0fd6b Mon Sep 17 00:00:00 2001 From: Yusuke Endoh <mame@r...> Date: Wed, 4 Dec 2019 20:59:39 +0900 Subject: coroutine/ucontext/Context.c: Include "ruby/config.h" for Solaris getcontext, makecontext, and swapcontext seem to be available only when `__EXTENSION__` is defined on Solaris. diff --git a/coroutine/ucontext/Context.c b/coroutine/ucontext/Context.c index ab8fda9..9ce7685 100644 --- a/coroutine/ucontext/Context.c +++ b/coroutine/ucontext/Context.c @@ -5,6 +5,7 @@ https://github.com/ruby/ruby/blob/trunk/coroutine/ucontext/Context.c#L5 * Copyright, 2019, by Samuel Williams. All rights reserved. */ +#include "ruby/config.h" #include "Context.h" void coroutine_trampoline(void * _start, void * _context) -- cgit v0.10.2 -- ML: ruby-changes@q... Info: http://www.atdot.net/~ko1/quickml/