mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
fix sleep for OpenBSD 4.0 (Tim Wiess)
This commit is contained in:
parent
6fc7da3c52
commit
d3864abaee
1 changed files with 1 additions and 1 deletions
|
@ -5,7 +5,7 @@
|
|||
#include <sched.h>
|
||||
#include <libc.h>
|
||||
|
||||
#if defined(__NetBSD__) || (defined(__OpenBSD__) && OpenBSD <= 200511)
|
||||
#if defined(__NetBSD__) || (defined(__OpenBSD__) && OpenBSD <= 200611)
|
||||
#if !defined(sched_yield)
|
||||
# define sched_yield() \
|
||||
do{ struct timespec ts; \
|
||||
|
|
Loading…
Reference in a new issue