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:
Sebastian Huber 2019-02-18 09:39:02 +01:00
parent 6246ef7949
commit 688e584efe
1 changed files with 1 additions and 1 deletions

View File

@ -36,7 +36,7 @@ typedef __uint32_t u_int32_t;
#if ___int64_t_defined
typedef __uint64_t u_int64_t;
#endif
typedef int register_t;
typedef __intptr_t register_t;
#define __BIT_TYPES_DEFINED__ 1
#ifndef __need_inttypes