RTEMS: Use int for _CLOCKID_T_
Linux and FreeBSD use int as well. In addition, this fixes an Ada incompatiblity problem on 64-bit targets. See also GCC: gcc/ada/libgnarl/s-osinte__rtems.ads Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
a9c8434527
commit
f641474cb2
@ -31,6 +31,9 @@ typedef __uint32_t __mode_t;
|
||||
typedef __uint64_t _CLOCK_T_;
|
||||
#define __machine_clock_t_defined
|
||||
|
||||
typedef int _CLOCKID_T_;
|
||||
#define __machine_clockid_t_defined
|
||||
|
||||
typedef int __accmode_t; /* access permissions */
|
||||
typedef __uint32_t __fixpt_t; /* fixed point number */
|
||||
typedef int __lwpid_t; /* Thread ID (a.k.a. LWP) */
|
||||
|
Loading…
Reference in New Issue
Block a user