plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 86c2ab2caf5eb4742e7cd227e6d29fc1dc74d855
parent ed12a647df79c647f32067d247f698cc1b59fc96
Author: rsc <devnull@localhost>
Date:   Wed, 16 Nov 2005 00:25:15 +0000

sched_yield netbsd (anselm garbe)

Diffstat:
Minclude/libc.h | 3++-
1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/include/libc.h b/include/libc.h @@ -900,7 +900,8 @@ extern int post9pservice(int, char*); # endif #endif -#if defined(__OpenBSD__) +/* this really shouldn't be here */ +#if defined(__OpenBSD__) || (defined(__NetBSD__) && !defined(sched_yield)) #define sched_yield() \ do { \ struct timespec ts; \