mirror of
https://github.com/reactos/wine.git
synced 2024-12-01 07:30:37 +00:00
msvcrt: Implement llabs().
This commit is contained in:
parent
bfaacf80da
commit
60de49770c
@ -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
|
||||
|
@ -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
|
||||
|
@ -765,6 +765,14 @@ MSVCRT_long CDECL MSVCRT_labs( MSVCRT_long n )
|
||||
return n >= 0 ? n : -n;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* llabs (MSVCRT.@)
|
||||
*/
|
||||
MSVCRT_longlong CDECL MSVCRT_llabs( MSVCRT_longlong n )
|
||||
{
|
||||
return n >= 0 ? n : -n;
|
||||
}
|
||||
|
||||
/*********************************************************************
|
||||
* _abs64 (MSVCRT.@)
|
||||
*/
|
||||
|
@ -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;
|
||||
|
Loading…
Reference in New Issue
Block a user