Fixed vs2012 build

This commit is contained in:
Antz 2016-10-12 08:33:59 +01:00 committed by Antz
parent 95f98ca7a5
commit f7418a4323
2 changed files with 19 additions and 19 deletions

View file

@ -72,7 +72,7 @@
#include <stdlib.h>
#include <string.h>
#include <time.h>
#include <cmath>
#include <math.h>
#include <errno.h>
#include <signal.h>
#include <assert.h>
@ -173,7 +173,7 @@ typedef off_t ACE_OFF_T;
* @param f
* @return float
*/
inline float finiteAlways(float f) { return std::isfinite(f) ? f : 0.0f; }
inline float finiteAlways(float f) { return finite(f) ? f : 0.0f; }
#define atol(a) strtoul( a, NULL, 10)