common: fix std type define on windows

This commit is contained in:
Gregory Hainaut 2014-09-12 20:26:06 +02:00
parent e101a1d77a
commit 27992b16c2
1 changed files with 6 additions and 6 deletions

View File

@ -36,6 +36,8 @@
#if defined(_MSC_VER)
// In doubt, we keep this define for VS2010
typedef __int8 s8;
typedef __int16 s16;
typedef __int32 s32;
@ -46,8 +48,6 @@ typedef unsigned __int16 u16;
typedef unsigned __int32 u32;
typedef unsigned __int64 u64;
typedef unsigned int uint;
#else // _MSC_VER*/
#include "stdint.h"
@ -65,15 +65,15 @@ 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;
typedef unsigned int uint;
#define LONG long
#endif //_MSC_VER
// --------------------------------------------------------------------------------------
// u128 / s128 - A rough-and-ready cross platform 128-bit datatype, Non-SSE style.
// --------------------------------------------------------------------------------------