FreeBSD changed!
This commit is contained in:
parent
5ed63a9b4e
commit
48ca8d21f7
1 changed files with 1 additions and 1 deletions
|
|
@ -12,7 +12,7 @@
|
||||||
#include "libc.h"
|
#include "libc.h"
|
||||||
#include "thread.h"
|
#include "thread.h"
|
||||||
|
|
||||||
#if defined(__FreeBSD__) && __FreeBSD_version < 500000
|
#if defined(__FreeBSD__) && __FreeBSD__ < 5
|
||||||
extern int getcontext(ucontext_t*);
|
extern int getcontext(ucontext_t*);
|
||||||
extern void setcontext(ucontext_t*);
|
extern void setcontext(ucontext_t*);
|
||||||
extern int swapcontext(ucontext_t*, ucontext_t*);
|
extern int swapcontext(ucontext_t*, ucontext_t*);
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue