Make _CLOCKID_T_ system configurable
Let systems optionally provide the _CLOCKID_T_ type via <machine/_types.h>. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
@@ -193,7 +193,10 @@ typedef _CLOCK_T_ __clock_t;
|
|||||||
#endif
|
#endif
|
||||||
typedef _TIME_T_ __time_t;
|
typedef _TIME_T_ __time_t;
|
||||||
|
|
||||||
|
#ifndef __machine_clockid_t_defined
|
||||||
#define _CLOCKID_T_ unsigned long
|
#define _CLOCKID_T_ unsigned long
|
||||||
|
#endif
|
||||||
|
|
||||||
typedef _CLOCKID_T_ __clockid_t;
|
typedef _CLOCKID_T_ __clockid_t;
|
||||||
|
|
||||||
#define _TIMER_T_ unsigned long
|
#define _TIMER_T_ unsigned long
|
||||||
|
Reference in New Issue
Block a user