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
60de4977
Commit
60de4977
authored
Aug 29, 2014
by
Nikolay Sivov
Committed by
Alexandre Julliard
Aug 29, 2014
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
msvcrt: Implement llabs().
parent
bfaacf80
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
11 additions
and
2 deletions
+11
-2
msvcr100.spec
dlls/msvcr100/msvcr100.spec
+1
-1
msvcr110.spec
dlls/msvcr110/msvcr110.spec
+1
-1
math.c
dlls/msvcrt/math.c
+8
-0
msvcrt.h
dlls/msvcrt/msvcrt.h
+1
-0
No files found.
dlls/msvcr100/msvcr100.spec
View file @
60de4977
...
...
@@ -1726,7 +1726,7 @@
@ cdecl labs(long) MSVCRT_labs
@ cdecl ldexp(double long) MSVCRT_ldexp
@ cdecl ldiv(long long) MSVCRT_ldiv
@
stub
llabs
@
cdecl -ret64 llabs(int64) MSVCRT_
llabs
@ stub lldiv
@ cdecl localeconv() MSVCRT_localeconv
@ cdecl log(double) MSVCRT_log
...
...
dlls/msvcr110/msvcr110.spec
View file @
60de4977
...
...
@@ -2085,7 +2085,7 @@
@ cdecl labs(long) MSVCRT_labs
@ cdecl ldexp(double long) MSVCRT_ldexp
@ cdecl ldiv(long long) MSVCRT_ldiv
@
stub
llabs
@
cdecl -ret64 llabs(int64) MSVCRT_
llabs
@ stub lldiv
@ cdecl localeconv() MSVCRT_localeconv
@ cdecl log(double) MSVCRT_log
...
...
dlls/msvcrt/math.c
View file @
60de4977
...
...
@@ -766,6 +766,14 @@ MSVCRT_long CDECL MSVCRT_labs( MSVCRT_long n )
}
/*********************************************************************
* llabs (MSVCRT.@)
*/
MSVCRT_longlong
CDECL
MSVCRT_llabs
(
MSVCRT_longlong
n
)
{
return
n
>=
0
?
n
:
-
n
;
}
/*********************************************************************
* _abs64 (MSVCRT.@)
*/
__int64
CDECL
_abs64
(
__int64
n
)
...
...
dlls/msvcrt/msvcrt.h
View file @
60de4977
...
...
@@ -67,6 +67,7 @@ typedef unsigned short MSVCRT__ino_t;
typedef
unsigned
int
MSVCRT__fsize_t
;
typedef
int
MSVCRT_long
;
typedef
unsigned
int
MSVCRT_ulong
;
typedef
__int64
MSVCRT_longlong
;
#ifdef _WIN64
typedef
unsigned
__int64
MSVCRT_size_t
;
typedef
__int64
MSVCRT_intptr_t
;
...
...
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