From 932365cee3ef4796549c5223b3702ea5b3839a6e Mon Sep 17 00:00:00 2001 From: hiker Date: Tue, 29 Mar 2016 11:18:19 +1100 Subject: [PATCH] Fixed VS compilation. --- src/karts/controller/arena_ai.hpp | 6 ------ src/karts/controller/battle_ai.cpp | 6 ------ src/utils/vs.hpp | 1 - 3 files changed, 13 deletions(-) diff --git a/src/karts/controller/arena_ai.hpp b/src/karts/controller/arena_ai.hpp index f8730d208..3caf152ba 100644 --- a/src/karts/controller/arena_ai.hpp +++ b/src/karts/controller/arena_ai.hpp @@ -28,12 +28,6 @@ #include "graphics/irr_driver.hpp" #endif -#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) -#define isnan _isnan -#else -#include -#endif - class Vec3; namespace irr diff --git a/src/karts/controller/battle_ai.cpp b/src/karts/controller/battle_ai.cpp index 40a9d897e..1b2cdc57b 100644 --- a/src/karts/controller/battle_ai.cpp +++ b/src/karts/controller/battle_ai.cpp @@ -33,12 +33,6 @@ using namespace irr; using namespace std; #endif -#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) -#define isnan _isnan -#else -#include -#endif - BattleAI::BattleAI(AbstractKart *kart) : ArenaAI(kart) { diff --git a/src/utils/vs.hpp b/src/utils/vs.hpp index cecbf50e2..503c93959 100644 --- a/src/utils/vs.hpp +++ b/src/utils/vs.hpp @@ -26,7 +26,6 @@ #if defined(WIN32) && defined(_MSC_VER) && _MSC_VER < 1800 # include -# define isnan _isnan # define roundf(x) (floorf(x + 0.5f)) # define round(x) (floorf(x + 0.5)) #endif