[CORE] Allowing compilation with c++11

This commit is contained in:
Yehonal
2016-08-10 12:39:25 +02:00
parent 6f7a046575
commit fc8599299e
6 changed files with 19 additions and 2 deletions

View File

@@ -139,7 +139,7 @@ inline float finiteAlways(float f) { return finite(f) ? f : 0.0f; }
#if COMPILER == COMPILER_MICROSOFT
inline bool myisfinite(float f) { return _finite(f) && !_isnan(f); }
#else
inline bool myisfinite(float f) { return finite(f) && !isnan(f); }
inline bool myisfinite(float f) { return finite(f) && !std::isnan(f); }
#endif
#define atol(a) strtoul( a, NULL, 10)

View File

@@ -20,6 +20,7 @@
#define AZEROTHCORE_LOG_H
#include "Common.h"
#include <ace/Task.h>
#include <ace/Singleton.h>
class WorldPacket;

View File

@@ -19,6 +19,8 @@
#ifndef THREADING_H
#define THREADING_H
#include "Common.h"
#include <ace/ACE.h>
#include <ace/Thread.h>
#include <ace/TSS_T.h>
#include <ace/Atomic_Op.h>