mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-02-19 22:53:47 +00:00
stdint.h doesn't exist in VS2008, so add an inline replacement for it.
This commit is contained in:
parent
cc9be50422
commit
01a219b694
2 changed files with 18 additions and 0 deletions
|
|
@ -82,7 +82,16 @@
|
|||
|
||||
///////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||
#include "Opcode.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 <stdint.h>
|
||||
#endif
|
||||
|
||||
using namespace Opcode;
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue