Commit a79de8aa authored by Austin English's avatar Austin English Committed by Alexandre Julliard

msvcrt: Implement _ftol in msvcrt instead of forwarding to ntdll.

parent b234f72c
......@@ -629,6 +629,15 @@ double CDECL _CItanh(void)
return MSVCRT_tanh(x);
}
/*********************************************************************
* _ftol (MSVCRT.@)
*/
LONGLONG CDECL MSVCRT__ftol(void)
{
FPU_DOUBLE(x);
return (LONGLONG)x;
}
#endif /* defined(__GNUC__) && defined(__i386__) */
/*********************************************************************
......
......@@ -453,9 +453,9 @@
@ cdecl _ftime32_s(ptr) MSVCRT__ftime32_s
@ cdecl _ftime64(ptr) MSVCRT__ftime64
@ cdecl _ftime64_s(ptr) MSVCRT__ftime64_s
@ cdecl -ret64 _ftol() ntdll._ftol
@ cdecl -ret64 _ftol2() ntdll._ftol
@ cdecl -ret64 _ftol2_sse() ntdll._ftol #FIXME: SSE variant should be implemented
@ cdecl -arch=i386 -ret64 _ftol() MSVCRT__ftol
@ cdecl -arch=i386 -ret64 _ftol2() MSVCRT__ftol
@ cdecl -arch=i386 -ret64 _ftol2_sse() MSVCRT__ftol #FIXME: SSE variant should be implemented
# stub _ftol2_sse_excpt
@ cdecl _fullpath(ptr str long)
# stub _fullpath_dbg(ptr str long long str long)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment