This commit is contained in:
rsc
2005-07-20 23:29:56 +00:00
parent 1d41999e22
commit b4b686415d
3 changed files with 12 additions and 5 deletions

View File

@@ -28,6 +28,10 @@ extern void makecontext(ucontext_t*, void(*)(), int, ...);
#endif
#if defined(__OpenBSD__)
# define mcontext libthread_mcontext
# define mcontext_t libthread_mcontext_t
# define ucontext libthread_ucontext
# define ucontext_t libthread_ucontext_t
# if defined __i386__
# include "386-ucontext.h"
# else