msvcrt: Support 64-bit platforms that don't have finitef or isnanf.
This commit is contained in:
parent
4fe1977743
commit
7ef720f184
|
@ -14671,6 +14671,7 @@ for ac_func in \
|
||||||
dlopen \
|
dlopen \
|
||||||
epoll_create \
|
epoll_create \
|
||||||
ffs \
|
ffs \
|
||||||
|
finitef \
|
||||||
fnmatch \
|
fnmatch \
|
||||||
fork \
|
fork \
|
||||||
fpclass \
|
fpclass \
|
||||||
|
@ -14687,6 +14688,7 @@ for ac_func in \
|
||||||
gettimeofday \
|
gettimeofday \
|
||||||
getuid \
|
getuid \
|
||||||
if_nameindex \
|
if_nameindex \
|
||||||
|
isnanf \
|
||||||
kqueue \
|
kqueue \
|
||||||
lstat \
|
lstat \
|
||||||
memmove \
|
memmove \
|
||||||
|
|
|
@ -2045,6 +2045,7 @@ AC_CHECK_FUNCS(\
|
||||||
dlopen \
|
dlopen \
|
||||||
epoll_create \
|
epoll_create \
|
||||||
ffs \
|
ffs \
|
||||||
|
finitef \
|
||||||
fnmatch \
|
fnmatch \
|
||||||
fork \
|
fork \
|
||||||
fpclass \
|
fpclass \
|
||||||
|
@ -2061,6 +2062,7 @@ AC_CHECK_FUNCS(\
|
||||||
gettimeofday \
|
gettimeofday \
|
||||||
getuid \
|
getuid \
|
||||||
if_nameindex \
|
if_nameindex \
|
||||||
|
isnanf \
|
||||||
kqueue \
|
kqueue \
|
||||||
lstat \
|
lstat \
|
||||||
memmove \
|
memmove \
|
||||||
|
|
|
@ -34,6 +34,18 @@
|
||||||
|
|
||||||
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
WINE_DEFAULT_DEBUG_CHANNEL(msvcrt);
|
||||||
|
|
||||||
|
#ifndef HAVE_FINITEF
|
||||||
|
#define finitef(x) isfinite(x)
|
||||||
|
#endif
|
||||||
|
|
||||||
|
#ifndef HAVE_ISNANF
|
||||||
|
#ifdef HAVE_ISNAN
|
||||||
|
#define isnanf(x) isnan(x)
|
||||||
|
#else
|
||||||
|
#define isnanf(x) 0
|
||||||
|
#endif
|
||||||
|
#endif
|
||||||
|
|
||||||
#ifndef signbit
|
#ifndef signbit
|
||||||
#define signbit(x) 0
|
#define signbit(x) 0
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -123,6 +123,9 @@
|
||||||
/* Define to 1 if you have the `ffs' function. */
|
/* Define to 1 if you have the `ffs' function. */
|
||||||
#undef HAVE_FFS
|
#undef HAVE_FFS
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `finitef' function. */
|
||||||
|
#undef HAVE_FINITEF
|
||||||
|
|
||||||
/* Define to 1 if you have the <float.h> header file. */
|
/* Define to 1 if you have the <float.h> header file. */
|
||||||
#undef HAVE_FLOAT_H
|
#undef HAVE_FLOAT_H
|
||||||
|
|
||||||
|
@ -279,6 +282,9 @@
|
||||||
/* Define to 1 if you have the `isnan' function. */
|
/* Define to 1 if you have the `isnan' function. */
|
||||||
#undef HAVE_ISNAN
|
#undef HAVE_ISNAN
|
||||||
|
|
||||||
|
/* Define to 1 if you have the `isnanf' function. */
|
||||||
|
#undef HAVE_ISNANF
|
||||||
|
|
||||||
/* Define to 1 if you have the <jpeglib.h> header file. */
|
/* Define to 1 if you have the <jpeglib.h> header file. */
|
||||||
#undef HAVE_JPEGLIB_H
|
#undef HAVE_JPEGLIB_H
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue