mirror of https://github.com/PCSX2/pcsx2.git
32 lines
547 B
C
32 lines
547 B
C
#ifndef __PS2ETYPES_H__
|
|
#define __PS2ETYPES_H__
|
|
|
|
// Basic types
|
|
#if defined(__WIN32__)
|
|
|
|
typedef __int8 s8;
|
|
typedef __int16 s16;
|
|
typedef __int32 s32;
|
|
typedef __int64 s64;
|
|
|
|
typedef unsigned __int8 u8;
|
|
typedef unsigned __int16 u16;
|
|
typedef unsigned __int32 u32;
|
|
typedef unsigned __int64 u64;
|
|
|
|
#elif defined(__LINUX__)
|
|
|
|
typedef char s8;
|
|
typedef short s16;
|
|
typedef long s32;
|
|
typedef long long s64;
|
|
|
|
typedef unsigned char u8;
|
|
typedef unsigned short u16;
|
|
typedef unsigned long u32;
|
|
typedef unsigned long long u64;
|
|
|
|
#endif
|
|
|
|
#endif /* __PS2ETYPES_H__ */
|