mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 07:22:43 +00:00
Make sure that __int64/long long types in crt don't produce warnings in ISO-C/C++ mode.
svn path=/branches/header-work/; revision=45722
This commit is contained in:
parent
98cde9a0b4
commit
fd0d53d19d
14 changed files with 136 additions and 136 deletions
|
@ -584,23 +584,23 @@ __CRT_INLINE int isinf (double d) {
|
|||
return retval;
|
||||
}
|
||||
|
||||
__CRT_INLINE long long __cdecl llrint (double x)
|
||||
__MINGW_EXTENSION __CRT_INLINE long long __cdecl llrint (double x)
|
||||
{
|
||||
long long retval;
|
||||
__MINGW_EXTENSION long long retval;
|
||||
__fistpll(x, retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
__CRT_INLINE long long __cdecl llrintf (float x)
|
||||
__MINGW_EXTENSION __CRT_INLINE long long __cdecl llrintf (float x)
|
||||
{
|
||||
long long retval;
|
||||
__MINGW_EXTENSION long long retval;
|
||||
__fistpll(x, retval);
|
||||
return retval;
|
||||
}
|
||||
|
||||
__CRT_INLINE long long __cdecl llrintl (long double x)
|
||||
__MINGW_EXTENSION __CRT_INLINE long long __cdecl llrintl (long double x)
|
||||
{
|
||||
long long retval;
|
||||
__MINGW_EXTENSION long long retval;
|
||||
__fistpll(x, retval);
|
||||
return retval;
|
||||
}
|
||||
|
@ -616,9 +616,9 @@ __CRT_INLINE int isinf (double d) {
|
|||
extern long __cdecl lroundf (float);
|
||||
extern long __cdecl lroundl (long double);
|
||||
|
||||
extern long long __cdecl llround (double);
|
||||
extern long long __cdecl llroundf (float);
|
||||
extern long long __cdecl llroundl (long double);
|
||||
__MINGW_EXTENSION extern long long __cdecl llround (double);
|
||||
__MINGW_EXTENSION extern long long __cdecl llroundf (float);
|
||||
__MINGW_EXTENSION extern long long __cdecl llroundl (long double);
|
||||
|
||||
/* 7.12.9.8 */
|
||||
/* round towards zero, regardless of fpu control word settings */
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue