Fixed VS compilation.

This commit is contained in:
hiker 2016-03-29 11:18:19 +11:00
parent 840244d476
commit 932365cee3
3 changed files with 0 additions and 13 deletions

View File

@ -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

View File

@ -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)
{ {

View File

@ -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