4
0
mirror of https://github.com/RT-Thread/rt-thread.git synced 2025-01-17 21:53:31 +08:00
2021-03-08 18:19:04 +08:00

13 lines
249 B
C

#ifndef _MACHTIME_H_
#define _MACHTIME_H_
#include <rtconfig.h>
#define _CLOCKS_PER_SEC_ RT_TICK_PER_SECOND
#ifdef __SPU__
#include <sys/_timespec.h>
int nanosleep (const struct timespec *, struct timespec *);
#endif
#endif /* _MACHTIME_H_ */