Fixed VS compilation.
This commit is contained in:
parent
840244d476
commit
932365cee3
@ -28,12 +28,6 @@
|
|||||||
#include "graphics/irr_driver.hpp"
|
#include "graphics/irr_driver.hpp"
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
|
|
||||||
#define isnan _isnan
|
|
||||||
#else
|
|
||||||
#include <math.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
class Vec3;
|
class Vec3;
|
||||||
|
|
||||||
namespace irr
|
namespace irr
|
||||||
|
@ -33,12 +33,6 @@ using namespace irr;
|
|||||||
using namespace std;
|
using namespace std;
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
|
|
||||||
#define isnan _isnan
|
|
||||||
#else
|
|
||||||
#include <math.h>
|
|
||||||
#endif
|
|
||||||
|
|
||||||
BattleAI::BattleAI(AbstractKart *kart)
|
BattleAI::BattleAI(AbstractKart *kart)
|
||||||
: ArenaAI(kart)
|
: ArenaAI(kart)
|
||||||
{
|
{
|
||||||
|
@ -26,7 +26,6 @@
|
|||||||
#if defined(WIN32) && defined(_MSC_VER) && _MSC_VER < 1800
|
#if defined(WIN32) && defined(_MSC_VER) && _MSC_VER < 1800
|
||||||
# include <math.h>
|
# include <math.h>
|
||||||
|
|
||||||
# define isnan _isnan
|
|
||||||
# define roundf(x) (floorf(x + 0.5f))
|
# define roundf(x) (floorf(x + 0.5f))
|
||||||
# define round(x) (floorf(x + 0.5))
|
# define round(x) (floorf(x + 0.5))
|
||||||
#endif
|
#endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user