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:
parent
a0bc0e1ba1
commit
dbfd4b780e
1 changed files with 1 additions and 0 deletions
|
@ -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)
|
||||
|
|
Loading…
Add table
Reference in a new issue