mirror of
https://github.com/TorqueGameEngines/Torque3D.git
synced 2026-07-13 15:44:36 +00:00
Fixed some minor compiler warnings on Linux
This commit is contained in:
parent
d89c3b7c6f
commit
a5d34271f2
5 changed files with 13 additions and 12 deletions
|
|
@ -58,7 +58,7 @@ void daeStringTable::clear()
|
|||
{
|
||||
unsigned int i;
|
||||
for (i=0;i<_stringBuffersList.getCount();i++)
|
||||
#if _MSC_VER <= 1200
|
||||
#if defined(_MSC_VER) && (_MSC_VER <= 1200)
|
||||
delete [] (char *) _stringBuffersList[i];
|
||||
#else
|
||||
delete [] _stringBuffersList[i];
|
||||
|
|
|
|||
|
|
@ -87,7 +87,7 @@ NvSimpleTypes.h : Defines basic data types for integers and floats.
|
|||
typedef float NxF32;
|
||||
typedef double NxF64;
|
||||
|
||||
#elif LINUX
|
||||
#elif defined(LINUX)
|
||||
typedef long long NxI64;
|
||||
typedef signed int NxI32;
|
||||
typedef signed short NxI16;
|
||||
|
|
@ -101,7 +101,7 @@ NvSimpleTypes.h : Defines basic data types for integers and floats.
|
|||
typedef float NxF32;
|
||||
typedef double NxF64;
|
||||
|
||||
#elif __APPLE__
|
||||
#elif defined(__APPLE__)
|
||||
typedef long long NxI64;
|
||||
typedef signed int NxI32;
|
||||
typedef signed short NxI16;
|
||||
|
|
@ -115,7 +115,7 @@ NvSimpleTypes.h : Defines basic data types for integers and floats.
|
|||
typedef float NxF32;
|
||||
typedef double NxF64;
|
||||
|
||||
#elif __CELLOS_LV2__
|
||||
#elif defined(__CELLOS_LV2__)
|
||||
typedef long long NxI64;
|
||||
typedef signed int NxI32;
|
||||
typedef signed short NxI16;
|
||||
|
|
@ -129,7 +129,7 @@ NvSimpleTypes.h : Defines basic data types for integers and floats.
|
|||
typedef float NxF32;
|
||||
typedef double NxF64;
|
||||
|
||||
#elif _XBOX
|
||||
#elif defined(_XBOX)
|
||||
typedef __int64 NxI64;
|
||||
typedef signed int NxI32;
|
||||
typedef signed short NxI16;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue