no sharps on c lines
This commit is contained in:
parent
e4c74b87b6
commit
b058fb6855
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user