msvcr120: Add imaxabs.
Signed-off-by: Myah Caron <qsniyg@protonmail.com> Signed-off-by: Piotr Caban <piotr@codeweavers.com> Signed-off-by: Alexandre Julliard <julliard@winehq.org>
This commit is contained in:
parent
468af5bbb4
commit
1bb193238f
|
@ -17,7 +17,7 @@
|
|||
@ cdecl bsearch(ptr ptr long long ptr) ucrtbase.bsearch
|
||||
@ cdecl bsearch_s(ptr ptr long long ptr ptr) ucrtbase.bsearch_s
|
||||
@ cdecl -ret64 div(long long) ucrtbase.div
|
||||
@ stub imaxabs
|
||||
@ cdecl -ret64 imaxabs(int64) ucrtbase.imaxabs
|
||||
@ stub imaxdiv
|
||||
@ cdecl labs(long) ucrtbase.labs
|
||||
@ cdecl -ret64 ldiv(long long) ucrtbase.ldiv
|
||||
|
|
|
@ -2210,7 +2210,7 @@
|
|||
@ cdecl ilogb(double) MSVCR120_ilogb
|
||||
@ cdecl ilogbf(float) MSVCR120_ilogbf
|
||||
@ cdecl ilogbl(double) MSVCR120_ilogbl
|
||||
@ stub imaxabs
|
||||
@ cdecl -ret64 imaxabs(int64) MSVCRT_imaxabs
|
||||
@ stub imaxdiv
|
||||
@ cdecl is_wctype(long long) MSVCRT_iswctype
|
||||
@ cdecl isalnum(long) MSVCRT_isalnum
|
||||
|
|
|
@ -1874,7 +1874,7 @@
|
|||
@ cdecl ilogb(double) msvcr120.ilogb
|
||||
@ cdecl ilogbf(float) msvcr120.ilogbf
|
||||
@ cdecl ilogbl(double) msvcr120.ilogbl
|
||||
@ stub imaxabs
|
||||
@ cdecl -ret64 imaxabs(int64) msvcr120.imaxabs
|
||||
@ stub imaxdiv
|
||||
@ cdecl isalnum(long) msvcr120.isalnum
|
||||
@ cdecl isalpha(long) msvcr120.isalpha
|
||||
|
|
|
@ -1502,6 +1502,16 @@ MSVCRT_longlong CDECL MSVCRT_llabs( MSVCRT_longlong n )
|
|||
}
|
||||
#endif
|
||||
|
||||
#if _MSVCR_VER>=120
|
||||
/*********************************************************************
|
||||
* imaxabs (MSVCR120.@)
|
||||
*/
|
||||
MSVCRT_intmax_t CDECL MSVCRT_imaxabs( MSVCRT_intmax_t n )
|
||||
{
|
||||
return n >= 0 ? n : -n;
|
||||
}
|
||||
#endif
|
||||
|
||||
/*********************************************************************
|
||||
* _abs64 (MSVCRT.@)
|
||||
*/
|
||||
|
|
|
@ -77,6 +77,7 @@ typedef unsigned int MSVCRT__fsize_t;
|
|||
typedef int MSVCRT_long;
|
||||
typedef unsigned int MSVCRT_ulong;
|
||||
typedef __int64 MSVCRT_longlong;
|
||||
typedef long long MSVCRT_intmax_t;
|
||||
#ifdef _WIN64
|
||||
typedef unsigned __int64 MSVCRT_size_t;
|
||||
typedef __int64 MSVCRT_intptr_t;
|
||||
|
|
|
@ -2344,7 +2344,7 @@
|
|||
@ cdecl ilogb(double) MSVCR120_ilogb
|
||||
@ cdecl ilogbf(float) MSVCR120_ilogbf
|
||||
@ cdecl ilogbl(double) MSVCR120_ilogbl
|
||||
@ stub imaxabs
|
||||
@ cdecl -ret64 imaxabs(int64) MSVCRT_imaxabs
|
||||
@ stub imaxdiv
|
||||
@ cdecl is_wctype(long long) MSVCRT_iswctype
|
||||
@ cdecl isalnum(long) MSVCRT_isalnum
|
||||
|
|
Loading…
Reference in New Issue