From d10afa2ba2be185edc2d7cc5e925786e5dd45f7f Mon Sep 17 00:00:00 2001 From: Daniel Buckmaster Date: Tue, 10 Feb 2015 15:22:35 +1100 Subject: [PATCH] VS2008 doesn't have stdint.h --- Engine/source/platform/types.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Engine/source/platform/types.h b/Engine/source/platform/types.h index 8de7c97ea..04e07aa69 100644 --- a/Engine/source/platform/types.h +++ b/Engine/source/platform/types.h @@ -23,7 +23,15 @@ #ifndef _TORQUE_TYPES_H_ #define _TORQUE_TYPES_H_ +#if (defined _MSC_VER) && (_MSC_VER <= 1500) +#ifdef _WIN64 // [ +typedef unsigned __int64 uintptr_t; +#else // _WIN64 ][ +typedef _W64 unsigned int uintptr_t; +#endif // _WIN64 ] +#else #include +#endif ////////////////////////////////////////////////////////////////////////////////////////////////////////// //-----------------------------------------Basic Types--------------------------------------------------//