~ubuntu-branches/ubuntu/vivid/emscripten/vivid

« back to all changes in this revision

Viewing changes to system/include/libc/machine/time.h

  • Committer: Package Import Robot
  • Author(s): Sylvestre Ledru
  • Date: 2013-05-02 13:11:51 UTC
  • Revision ID: package-import@ubuntu.com-20130502131151-q8dvteqr1ef2x7xz
Tags: upstream-1.4.1~20130504~adb56cb
ImportĀ upstreamĀ versionĀ 1.4.1~20130504~adb56cb

Show diffs side-by-side

added added

removed removed

Lines of Context:
 
1
#ifndef _MACHTIME_H_
 
2
#define _MACHTIME_H_
 
3
 
 
4
#if defined(__rtems__)
 
5
/* XXX Emscripten #define _CLOCKS_PER_SEC_  sysconf(_SC_CLK_TCK) */
 
6
#else  /* !__rtems__ */
 
7
#if defined(__arm__) || defined(__thumb__)
 
8
/* XXX Emscripten #define _CLOCKS_PER_SEC_ 100 */
 
9
#endif
 
10
#endif /* !__rtems__ */
 
11
 
 
12
#ifdef __SPU__
 
13
#include <sys/types.h>
 
14
int nanosleep (const struct timespec *, struct timespec *);
 
15
#endif
 
16
 
 
17
#endif  /* _MACHTIME_H_ */
 
18
 
 
19