fixing c++11 build
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@71479 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
@@ -57,7 +57,7 @@
|
|||||||
#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
|
#if defined(__VISUALC__) || defined(__BORLANDC__) || defined(__WATCOMC__)
|
||||||
#include <float.h>
|
#include <float.h>
|
||||||
#define wxFinite(x) _finite(x)
|
#define wxFinite(x) _finite(x)
|
||||||
#elif defined(__MINGW64__)
|
#elif defined(__MINGW64__) || defined(__clang__)
|
||||||
/*
|
/*
|
||||||
add more compilers with C99 support here: using C99 isfinite() is
|
add more compilers with C99 support here: using C99 isfinite() is
|
||||||
preferable to using BSD-ish finite()
|
preferable to using BSD-ish finite()
|
||||||
|
Reference in New Issue
Block a user