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"
#endif
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__)
#define isnan _isnan
#else
#include <math.h>
#endif
class Vec3;
namespace irr

View File

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

View File

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