mirror of https://github.com/PCSX2/pcsx2.git
utilities: Use C99+ size definitions on Windows
Also remove a LONG definition for Linux - it's unused.
This commit is contained in:
parent
2939abd8de
commit
50c7775e47
|
@ -34,24 +34,7 @@
|
|||
// Basic Atomic Types
|
||||
// --------------------------------------------------------------------------------------
|
||||
|
||||
#include "stdint.h"
|
||||
|
||||
#if defined(_MSC_VER)
|
||||
|
||||
// In doubt, we keep this define for VS2010
|
||||
|
||||
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;
|
||||
|
||||
#else // _MSC_VER*/
|
||||
|
||||
#include <stdint.h>
|
||||
|
||||
// Note: char does not have a default sign, unlike other types. As we actually want
|
||||
// char and not signed char in pcsx2, we define s8 to char
|
||||
|
@ -66,10 +49,6 @@ typedef uint16_t u16;
|
|||
typedef uint32_t u32;
|
||||
typedef uint64_t u64;
|
||||
|
||||
#define LONG long
|
||||
|
||||
#endif //_MSC_VER
|
||||
|
||||
typedef uintptr_t uptr;
|
||||
typedef intptr_t sptr;
|
||||
|
||||
|
|
Loading…
Reference in New Issue