mirror of https://github.com/encounter/aurora.git
dolphin/types.h: Fix s32/u32 for MWCC
This commit is contained in:
parent
2dec530bb5
commit
a9cf9271c4
|
@ -5,6 +5,16 @@
|
|||
#include <bits/wordsize.h>
|
||||
#endif
|
||||
|
||||
#ifdef __MWERKS__
|
||||
typedef signed char s8;
|
||||
typedef signed short int s16;
|
||||
typedef signed long s32;
|
||||
typedef signed long long int s64;
|
||||
typedef unsigned char u8;
|
||||
typedef unsigned short int u16;
|
||||
typedef unsigned long u32;
|
||||
typedef unsigned long long int u64;
|
||||
#else
|
||||
typedef signed char s8;
|
||||
typedef signed short int s16;
|
||||
typedef signed int s32;
|
||||
|
@ -13,7 +23,6 @@ typedef signed long int s64;
|
|||
#else
|
||||
typedef signed long long int s64;
|
||||
#endif
|
||||
|
||||
typedef unsigned char u8;
|
||||
typedef unsigned short int u16;
|
||||
typedef unsigned int u32;
|
||||
|
@ -22,6 +31,7 @@ typedef unsigned long int u64;
|
|||
#else
|
||||
typedef unsigned long long int u64;
|
||||
#endif
|
||||
#endif
|
||||
|
||||
typedef volatile u8 vu8;
|
||||
typedef volatile u16 vu16;
|
||||
|
|
Loading…
Reference in New Issue