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