Subversion Repositories Kolibri OS

Rev

Rev 4921 | Blame | Compare with Previous | Last modification | View Log | RSS feed

  1. #ifndef _MACHTIME_H_
  2. #define _MACHTIME_H_
  3.  
  4. #if defined(__rtems__) || defined(__VISIUM__)
  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>
  12. int nanosleep (const struct timespec *, struct timespec *);
  13. #endif
  14.  
  15. #endif  /* _MACHTIME_H_ */
  16.