Correct VS compilation (VS 2013 is 18, not 17)
git-svn-id: svn+ssh://svn.code.sf.net/p/supertuxkart/code/main/trunk@14629 178a84e3-b1eb-0310-8ba1-8eac791a3b58
This commit is contained in:
parent
8032fdb3b0
commit
85bfec00a0
@ -16,7 +16,7 @@ subject to the following restrictions:
|
||||
#ifndef BT_COLLISION_OBJECT_H
|
||||
#define BT_COLLISION_OBJECT_H
|
||||
|
||||
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) && _MSC_VER < 1700
|
||||
#if defined(WIN32) && !defined(__CYGWIN__) && !defined(__MINGW32__) && _MSC_VER < 1800
|
||||
# undef isnan
|
||||
# define isnan _isnan
|
||||
# define isinf(x) (!_finite(x))
|
||||
|
@ -25,7 +25,7 @@
|
||||
#include <IGUIButton.h>
|
||||
#include <cmath>
|
||||
|
||||
#if defined(WIN32) && _MSC_VER < 1700
|
||||
#if defined(WIN32) && _MSC_VER < 1800
|
||||
// VS up to and including VS 2012 do not provide the normal round function
|
||||
static inline float round(float val)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user