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:
parent
a0bc0e1ba1
commit
dbfd4b780e
@ -5,6 +5,7 @@
|
|||||||
* Copyright, 2019, by Samuel Williams. All rights reserved.
|
* Copyright, 2019, by Samuel Williams. All rights reserved.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
#include "ruby/config.h"
|
||||||
#include "Context.h"
|
#include "Context.h"
|
||||||
|
|
||||||
void coroutine_trampoline(void * _start, void * _context)
|
void coroutine_trampoline(void * _start, void * _context)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user