mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-12 15:14:35 +00:00
VS2008 doesn't have stdint.h
This commit is contained in:
parent
caf036633a
commit
d10afa2ba2
1 changed files with 8 additions and 0 deletions
|
|
@ -23,7 +23,15 @@
|
||||||
#ifndef _TORQUE_TYPES_H_
|
#ifndef _TORQUE_TYPES_H_
|
||||||
#define _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 <stdint.h>
|
#include <stdint.h>
|
||||||
|
#endif
|
||||||
|
|
||||||
//////////////////////////////////////////////////////////////////////////////////////////////////////////
|
//////////////////////////////////////////////////////////////////////////////////////////////////////////
|
||||||
//-----------------------------------------Basic Types--------------------------------------------------//
|
//-----------------------------------------Basic Types--------------------------------------------------//
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue