Cygwin: Add new APIs tc[gs]etwinsize()
[newlib-cygwin.git] / newlib / libc / include / machine / time.h
blobc75edafa7e9852fc3daf33466f656997357ee238
1 #ifndef _MACHTIME_H_
2 #define _MACHTIME_H_
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
10 #ifdef __SPU__
11 #include <sys/_timespec.h>
12 int nanosleep (const struct timespec *, struct timespec *);
13 #endif
15 #endif /* _MACHTIME_H_ */