mirror of https://github.com/PCSX2/pcsx2.git
common: fix std type define on windows
This commit is contained in:
parent
e101a1d77a
commit
27992b16c2
|
@ -36,6 +36,8 @@
|
||||||
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
|
|
||||||
|
// In doubt, we keep this define for VS2010
|
||||||
|
|
||||||
typedef __int8 s8;
|
typedef __int8 s8;
|
||||||
typedef __int16 s16;
|
typedef __int16 s16;
|
||||||
typedef __int32 s32;
|
typedef __int32 s32;
|
||||||
|
@ -46,8 +48,6 @@ typedef unsigned __int16 u16;
|
||||||
typedef unsigned __int32 u32;
|
typedef unsigned __int32 u32;
|
||||||
typedef unsigned __int64 u64;
|
typedef unsigned __int64 u64;
|
||||||
|
|
||||||
typedef unsigned int uint;
|
|
||||||
|
|
||||||
#else // _MSC_VER*/
|
#else // _MSC_VER*/
|
||||||
|
|
||||||
#include "stdint.h"
|
#include "stdint.h"
|
||||||
|
@ -65,15 +65,15 @@ typedef uint16_t u16;
|
||||||
typedef uint32_t u32;
|
typedef uint32_t u32;
|
||||||
typedef uint64_t u64;
|
typedef uint64_t u64;
|
||||||
|
|
||||||
|
#define LONG long
|
||||||
|
|
||||||
|
#endif //_MSC_VER
|
||||||
|
|
||||||
typedef uintptr_t uptr;
|
typedef uintptr_t uptr;
|
||||||
typedef intptr_t sptr;
|
typedef intptr_t sptr;
|
||||||
|
|
||||||
typedef unsigned int uint;
|
typedef unsigned int uint;
|
||||||
|
|
||||||
#define LONG long
|
|
||||||
|
|
||||||
#endif //_MSC_VER
|
|
||||||
|
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
// u128 / s128 - A rough-and-ready cross platform 128-bit datatype, Non-SSE style.
|
// u128 / s128 - A rough-and-ready cross platform 128-bit datatype, Non-SSE style.
|
||||||
// --------------------------------------------------------------------------------------
|
// --------------------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue