Change register_t definition
On 64-bit targets, the register_t type must be a 64-bit integer. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
parent
6246ef7949
commit
688e584efe
|
@ -36,7 +36,7 @@ typedef __uint32_t u_int32_t;
|
||||||
#if ___int64_t_defined
|
#if ___int64_t_defined
|
||||||
typedef __uint64_t u_int64_t;
|
typedef __uint64_t u_int64_t;
|
||||||
#endif
|
#endif
|
||||||
typedef int register_t;
|
typedef __intptr_t register_t;
|
||||||
#define __BIT_TYPES_DEFINED__ 1
|
#define __BIT_TYPES_DEFINED__ 1
|
||||||
|
|
||||||
#ifndef __need_inttypes
|
#ifndef __need_inttypes
|
||||||
|
|
Loading…
Reference in New Issue