mirror of
https://github.com/mangosfour/server.git
synced 2025-12-25 13:37:02 +00:00
Fixed vs2012 build
This commit is contained in:
parent
95f98ca7a5
commit
f7418a4323
2 changed files with 19 additions and 19 deletions
|
|
@ -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)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue