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
b7228259
Commit
b7228259
authored
Apr 03, 2023
by
Alexandre Julliard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Use the fabs()/fabsf() implementation from the bundled musl library.
parent
438553e9
Hide whitespace changes
Inline
Side-by-side
Showing
12 changed files
with
11 additions
and
39 deletions
+11
-39
Makefile.in
dlls/crtdll/Makefile.in
+1
-1
Makefile.in
dlls/msvcr100/Makefile.in
+1
-1
Makefile.in
dlls/msvcr110/Makefile.in
+1
-1
Makefile.in
dlls/msvcr120/Makefile.in
+1
-1
Makefile.in
dlls/msvcr70/Makefile.in
+1
-1
Makefile.in
dlls/msvcr71/Makefile.in
+1
-1
Makefile.in
dlls/msvcr80/Makefile.in
+1
-1
Makefile.in
dlls/msvcr90/Makefile.in
+1
-1
Makefile.in
dlls/msvcrt/Makefile.in
+1
-1
math.c
dlls/msvcrt/math.c
+0
-28
Makefile.in
dlls/msvcrtd/Makefile.in
+1
-1
Makefile.in
dlls/ucrtbase/Makefile.in
+1
-1
No files found.
dlls/crtdll/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTDLL
-D_CRTIMP
=
MODULE
=
crtdll.dll
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr100/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr100.dll
IMPORTLIB
=
msvcr100
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr110/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr110.dll
IMPORTLIB
=
msvcr110
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr120/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr120.dll
IMPORTLIB
=
msvcr120
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr70/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr70.dll
IMPORTLIB
=
msvcr70
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr71/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr71.dll
IMPORTLIB
=
msvcr71
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr80/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr80.dll
IMPORTLIB
=
msvcr80
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcr90/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcr90.dll
IMPORTLIB
=
msvcr90
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
dlls/msvcrt/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
msvcrt.dll
IMPORTLIB
=
msvcrt
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
C_SRCS
=
\
...
...
dlls/msvcrt/math.c
View file @
b7228259
...
...
@@ -2075,22 +2075,6 @@ float CDECL modff( float x, float *iptr )
#endif
#if !defined(__i386__) && !defined(__x86_64__) && (_MSVCR_VER == 0 || _MSVCR_VER >= 110)
/*********************************************************************
* fabsf (MSVCRT.@)
*
* Copied from musl: src/math/fabsf.c
*/
float
CDECL
fabsf
(
float
x
)
{
union
{
float
f
;
UINT32
i
;
}
u
=
{
x
};
u
.
i
&=
0x7fffffff
;
return
u
.
f
;
}
#endif
/*********************************************************************
* acos (MSVCRT.@)
*
...
...
@@ -5096,18 +5080,6 @@ float CDECL fmaf( float x, float y, float z )
}
/*********************************************************************
* fabs (MSVCRT.@)
*
* Copied from musl: src/math/fabsf.c
*/
double
CDECL
fabs
(
double
x
)
{
union
{
double
f
;
UINT64
i
;
}
u
=
{
x
};
u
.
i
&=
~
0ull
>>
1
;
return
u
.
f
;
}
/*********************************************************************
* frexp (MSVCRT.@)
*
* Copied from musl: src/math/frexp.c
...
...
dlls/msvcrtd/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
-D_DEBUG
=
MODULE
=
msvcrtd.dll
IMPORTLIB
=
msvcrtd
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
PARENTSRC
=
../msvcrt
DELAYIMPORTS
=
advapi32 user32
...
...
dlls/ucrtbase/Makefile.in
View file @
b7228259
EXTRADEFS
=
-D_CRTIMP
=
MODULE
=
ucrtbase.dll
IMPORTLIB
=
ucrtbase
IMPORTS
=
ntdll
IMPORTS
=
$(MUSL_PE_LIBS)
ntdll
DELAYIMPORTS
=
advapi32 user32
PARENTSRC
=
../msvcrt
...
...
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