source: trunk/libs/newlib/src/newlib/libc/include/machine/time.h @ 444

Last change on this file since 444 was 444, checked in by satin@…, 6 years ago

add newlib,libalmos-mkh, restructure shared_syscalls.h and mini-libc

File size: 384 bytes
Line 
1#ifndef _MACHTIME_H_
2#define _MACHTIME_H_
3
4#if defined(__rtems__) || defined(__VISIUM__) || defined(__riscv)
5#define _CLOCKS_PER_SEC_ 1000000
6#elif defined(__aarch64__) || defined(__arm__) || defined(__thumb__)
7#define _CLOCKS_PER_SEC_ 100
8#endif
9
10#ifdef __SPU__
11#include <sys/_timespec.h>
12int nanosleep (const struct timespec *, struct timespec *);
13#endif
14
15#endif  /* _MACHTIME_H_ */
Note: See TracBrowser for help on using the repository browser.