Guard nanosleep prototype behind _POSIX_TIMERS
This commit is contained in:
parent
b3f1152049
commit
a33542719f
|
@ -32,7 +32,9 @@
|
|||
extern "C" {
|
||||
#endif
|
||||
|
||||
#ifndef _POSIX_TIMERS
|
||||
int nanosleep(struct timespec *tb);
|
||||
#endif
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue