includes: Newer Visual Studio versions have isfinite and friends.
Signed-off-by: Stefan Dösinger <stefan@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
fbfd697f89
commit
af7ace7990
|
@ -58,9 +58,15 @@
|
||||||
#ifdef _MSC_VER
|
#ifdef _MSC_VER
|
||||||
|
|
||||||
#define ftruncate chsize
|
#define ftruncate chsize
|
||||||
#define isfinite(x) _finite(x)
|
#ifndef isfinite
|
||||||
#define isinf(x) (!(_finite(x) || _isnan(x)))
|
# define isfinite(x) _finite(x)
|
||||||
#define isnan(x) _isnan(x)
|
#endif
|
||||||
|
#ifndef isinf
|
||||||
|
# define isinf(x) (!(_finite(x) || _isnan(x)))
|
||||||
|
#endif
|
||||||
|
#ifndef isnan
|
||||||
|
# define isnan(x) _isnan(x)
|
||||||
|
#endif
|
||||||
#define popen _popen
|
#define popen _popen
|
||||||
#define pclose _pclose
|
#define pclose _pclose
|
||||||
#define snprintf _snprintf
|
#define snprintf _snprintf
|
||||||
|
|
Loading…
Reference in New Issue