mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-17 02:50:29 +00:00
[CORE] Allowing compilation with c++11
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -20,6 +20,7 @@
|
||||
#define AZEROTHCORE_LOG_H
|
||||
|
||||
#include "Common.h"
|
||||
#include <ace/Task.h>
|
||||
#include <ace/Singleton.h>
|
||||
|
||||
class WorldPacket;
|
||||
|
||||
@@ -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>
|
||||
|
||||
Reference in New Issue
Block a user