1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

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.
This commit is contained in:
Yusuke Endoh 2019-12-04 20:59:39 +09:00
parent a0bc0e1ba1
commit dbfd4b780e

View file

@ -5,6 +5,7 @@
* Copyright, 2019, by Samuel Williams. All rights reserved.
*/
#include "ruby/config.h"
#include "Context.h"
void coroutine_trampoline(void * _start, void * _context)