maybe openbsd has schedyield now
This commit is contained in:
parent
a237e87c33
commit
ceb21b8a90
2 changed files with 1 additions and 4 deletions
|
|
@ -832,10 +832,6 @@ extern int post9pservice(int, char*);
|
||||||
# endif
|
# endif
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#ifdef __OpenBSD__
|
|
||||||
#define sched_yield() syscall(302) /* what is this? */
|
|
||||||
#endif
|
|
||||||
|
|
||||||
/* command line */
|
/* command line */
|
||||||
extern char *argv0;
|
extern char *argv0;
|
||||||
extern void __fixargv0(void);
|
extern void __fixargv0(void);
|
||||||
|
|
|
||||||
|
|
@ -92,6 +92,7 @@ typedef long p9jmp_buf[sizeof(sigjmp_buf)/sizeof(long)];
|
||||||
# undef _NEEDUINT
|
# undef _NEEDUINT
|
||||||
# undef _NEEDULONG
|
# undef _NEEDULONG
|
||||||
#elif defined(__OpenBSD__)
|
#elif defined(__OpenBSD__)
|
||||||
|
# include <sys/types.h>
|
||||||
# undef _NEEDUSHORT
|
# undef _NEEDUSHORT
|
||||||
# undef _NEEDUINT
|
# undef _NEEDUINT
|
||||||
# undef _NEEDULONG
|
# undef _NEEDULONG
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue