mirror of https://github.com/libsdl-org/SDL
SDL_config_windows.h: define HAVE_TRUNC[F] for Visual Studio >= 2013
This commit is contained in:
parent
3e40b87f56
commit
bbbec723e5
|
@ -166,8 +166,6 @@ typedef unsigned int uintptr_t;
|
||||||
#define HAVE_SQRTF 1
|
#define HAVE_SQRTF 1
|
||||||
#define HAVE_TAN 1
|
#define HAVE_TAN 1
|
||||||
#define HAVE_TANF 1
|
#define HAVE_TANF 1
|
||||||
#define HAVE_TRUNC 1
|
|
||||||
#define HAVE_TRUNCF 1
|
|
||||||
#if defined(_MSC_VER)
|
#if defined(_MSC_VER)
|
||||||
/* These functions were added with the VC++ 2013 C runtime library */
|
/* These functions were added with the VC++ 2013 C runtime library */
|
||||||
#if _MSC_VER >= 1800
|
#if _MSC_VER >= 1800
|
||||||
|
@ -175,6 +173,8 @@ typedef unsigned int uintptr_t;
|
||||||
#define HAVE_VSSCANF 1
|
#define HAVE_VSSCANF 1
|
||||||
#define HAVE_SCALBN 1
|
#define HAVE_SCALBN 1
|
||||||
#define HAVE_SCALBNF 1
|
#define HAVE_SCALBNF 1
|
||||||
|
#define HAVE_TRUNC 1
|
||||||
|
#define HAVE_TRUNCF 1
|
||||||
#endif
|
#endif
|
||||||
/* This function is available with at least the VC++ 2008 C runtime library */
|
/* This function is available with at least the VC++ 2008 C runtime library */
|
||||||
#if _MSC_VER >= 1400
|
#if _MSC_VER >= 1400
|
||||||
|
|
Loading…
Reference in New Issue