Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
W
wine-winehq
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Registry
Registry
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
wine
wine-winehq
Commits
7ef720f1
Commit
7ef720f1
authored
Jan 22, 2015
by
Charles Davis
Committed by
Alexandre Julliard
Jan 23, 2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Support 64-bit platforms that don't have finitef or isnanf.
parent
4fe19777
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
22 additions
and
0 deletions
+22
-0
configure
configure
+2
-0
configure.ac
configure.ac
+2
-0
math.c
dlls/msvcrt/math.c
+12
-0
config.h.in
include/config.h.in
+6
-0
No files found.
configure
View file @
7ef720f1
...
...
@@ -14671,6 +14671,7 @@ for ac_func in \
dlopen
\
epoll_create
\
ffs
\
finitef
\
fnmatch
\
fork
\
fpclass
\
...
...
@@ -14687,6 +14688,7 @@ for ac_func in \
gettimeofday
\
getuid
\
if_nameindex
\
isnanf
\
kqueue
\
lstat
\
memmove
\
...
...
configure.ac
View file @
7ef720f1
...
...
@@ -2045,6 +2045,7 @@ AC_CHECK_FUNCS(\
dlopen \
epoll_create \
ffs \
finitef \
fnmatch \
fork \
fpclass \
...
...
@@ -2061,6 +2062,7 @@ AC_CHECK_FUNCS(\
gettimeofday \
getuid \
if_nameindex \
isnanf \
kqueue \
lstat \
memmove \
...
...
dlls/msvcrt/math.c
View file @
7ef720f1
...
...
@@ -34,6 +34,18 @@
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
#define signbit(x) 0
#endif
...
...
include/config.h.in
View file @
7ef720f1
...
...
@@ -123,6 +123,9 @@
/* Define to 1 if you have the `ffs' function. */
#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. */
#undef HAVE_FLOAT_H
...
...
@@ -279,6 +282,9 @@
/* Define to 1 if you have the `isnan' function. */
#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. */
#undef HAVE_JPEGLIB_H
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment