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--------------------------------------------------//