diff options
Diffstat (limited to 'include/gba/types.h')
-rw-r--r-- | include/gba/types.h | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/include/gba/types.h b/include/gba/types.h index 589d27b58..be7390d5a 100644 --- a/include/gba/types.h +++ b/include/gba/types.h @@ -1,14 +1,16 @@ #ifndef GUARD_GBA_TYPES_H #define GUARD_GBA_TYPES_H -typedef unsigned char u8; -typedef unsigned short u16; -typedef unsigned int u32; -typedef unsigned long long u64; -typedef signed char s8; -typedef signed short s16; -typedef signed int s32; -typedef signed long long s64; +#include <stdint.h> + +typedef uint8_t u8; +typedef uint16_t u16; +typedef uint32_t u32; +typedef uint64_t u64; +typedef int8_t s8; +typedef int16_t s16; +typedef int32_t s32; +typedef int64_t s64; typedef volatile u8 vu8; typedef volatile u16 vu16; |