Welcome to mirror list, hosted at ThFree Co, Russian Federation.

time.h « machine « include « libc « newlib - cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 0caf12655dd17c8b4be54c720c8abc92dbcc1170 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
#ifndef	_MACHTIME_H_
#define	_MACHTIME_H_

#if defined(__rtems__)
#define _CLOCKS_PER_SEC_  sysconf(_SC_CLK_TCK)
#else  /* !__rtems__ */
#if defined(__arm__) || defined(__thumb__)
#define _CLOCKS_PER_SEC_ 100
#endif
#endif /* !__rtems__ */

#endif	/* _MACHTIME_H_ */