Merge pull request #596 from Azaezel/vs2013

VS2013 compatibility patch.
This commit is contained in:
Andrew Mac 2014-05-03 14:07:46 -03:00
commit 008e34eb8e
2 changed files with 3 additions and 0 deletions

View file

@ -21,6 +21,7 @@
#include <assert.h>
#include <wchar.h>
#include <string.h>
#include <algorithm>
#include <dae/daeError.h>

View file

@ -35,6 +35,8 @@
// These standard functions are not defined on Win32 and other Microsoft platforms...
#define strcasecmp _stricmp
#define strncasecmp _strnicmp
#endif
#if (_MSC_VER < 1800) && (defined(TORQUE_OS_WIN) || defined(TORQUE_OS_XBOX) || defined(TORQUE_OS_XENON))
#define strtof (float)strtod
#endif