Always provide register_t via <sys/types.h>
Always provide register_t via <sys/types.h> for glibc and BSD compatibility. Define __BIT_TYPES_DEFINED__ to 1 like glibc for legacy header files. Signed-off-by: Sebastian Huber <sebastian.huber@embedded-brains.de>
This commit is contained in:
committed by
Corinna Vinschen
parent
878e65d354
commit
51062c856b
@ -71,11 +71,6 @@ typedef unsigned long vm_size_t;
|
||||
typedef void *vm_object_t;
|
||||
#endif /* __vm_object_t_defined */
|
||||
|
||||
#ifndef __register_t_defined
|
||||
#define __register_t_defined
|
||||
typedef __int32_t register_t;
|
||||
#endif
|
||||
|
||||
#ifndef __addr_t_defined
|
||||
#define __addr_t_defined
|
||||
typedef char *addr_t;
|
||||
|
Reference in New Issue
Block a user