msvcrt: implement _ftol in msvcrt instead of forwarding to ntdll (1/2)

Piotr Caban piotr.caban at
Thu Dec 13 04:04:29 CST 2012

On 12/13/12 02:57, Austin English wrote:
+ * Based on MSVCRT__ftol in dlls/ntdll/misc.c
+ */
+#if defined(__GNUC__) && defined(__i386__)

+@ cdecl -ret64 _ftol() MSVCRT__ftol
+@ cdecl -ret64 _ftol2() MSVCRT__ftol

This will not work on 64-bit build or when __GNUC__ is not defined. I 
don't see _ftol function in native 64-bit msvcrt, maybe it should not be 
exported there.

More information about the wine-devel mailing list