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