no sharps on c lines

This commit is contained in:
rsc 2006-01-29 04:17:25 +00:00
parent e4c74b87b6
commit b058fb6855

View file

@ -7,11 +7,11 @@
#if defined(__NetBSD__) || (defined(__OpenBSD__) && OpenBSD <= 200511)
# define sched_yield() \
# do{ struct timespec ts; \
# ts.tv_sec = 0; \
# ts.tv_nsec = 0; \
# nanosleep(&ts, 0); \
# }while(0)
do{ struct timespec ts; \
ts.tv_sec = 0; \
ts.tv_nsec = 0; \
nanosleep(&ts, 0); \
}while(0)
#endif
int