mirror of
git://source.winehq.org/git/wine.git
synced 2024-09-06 00:58:47 +00:00
configure, msvcrt: Check for the finite() function just like finitef().
If missing, fall back on the C99 isfinite() macro, just like the existing finitef() fallback. The finite() function is deprecated in macOS 10.9 and is removed (from the SDK) since macOS 11.0. Signed-off-by: Martin Storsjo <martin@martin.st> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
11bb6deb08
commit
342c5da7c1
1
configure
vendored
1
configure
vendored
|
@ -18037,6 +18037,7 @@ for ac_func in \
|
|||
_spawnvp \
|
||||
epoll_create \
|
||||
ffs \
|
||||
finite \
|
||||
finitef \
|
||||
fnmatch \
|
||||
fork \
|
||||
|
|
|
@ -2189,6 +2189,7 @@ AC_CHECK_FUNCS(\
|
|||
_spawnvp \
|
||||
epoll_create \
|
||||
ffs \
|
||||
finite \
|
||||
finitef \
|
||||
fnmatch \
|
||||
fork \
|
||||
|
|
|
@ -47,6 +47,9 @@
|
|||
|
||||
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
||||
|
||||
#ifndef HAVE_FINITE
|
||||
#define finite(x) isfinite(x)
|
||||
#endif
|
||||
#ifndef HAVE_FINITEF
|
||||
#define finitef(x) isfinite(x)
|
||||
#endif
|
||||
|
|
|
@ -168,6 +168,9 @@
|
|||
/* Define to 1 if you have the `ffs' function. */
|
||||
#undef HAVE_FFS
|
||||
|
||||
/* Define to 1 if you have the `finite' function. */
|
||||
#undef HAVE_FINITE
|
||||
|
||||
/* Define to 1 if you have the `finitef' function. */
|
||||
#undef HAVE_FINITEF
|
||||
|
||||
|
|
Loading…
Reference in a new issue