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