Hi,
License: X11
ChangeLog:
Jon Griffiths <jon_p_griffiths@yahoo.com>
+dlls/msvcrt/msvcrt.spec dlls/msvcrt/math.c
msvcrts _ftol returns an int64, implement it accordingly
=====
"Don't wait for the seas to part, or messiahs to come;
Don't you sit around and waste this chance..." - Live
jon_p_griffiths@yahoo.com
__________________________________
Do you Yahoo!?
Yahoo! SiteBuilder - Free, easy-to-use web site design software
http://sitebuilder.yahoo.com
diff -ur wine/dlls/msvcrt/math.c wine-develop/dlls/msvcrt/math.c
--- wine/dlls/msvcrt/math.c Sat Apr 26 19:29:23 2003
+++ wine-develop/dlls/msvcrt/math.c Fri Aug 15 19:47:54 2003
@@ -289,6 +289,15 @@
return tanh(x);
}
+/*********************************************************************
+ * MSVCRT__ftol (MSVCRT.@)
+ */
+LONG64 MSVCRT__ftol(void)
+{
+ FPU_DOUBLE(x);
+ return (LONG64)x;
+}
+
#else /* defined(__GNUC__) && defined(__i386__) */
/* The above cannot be called on non x86 platforms, stub them for linking */
@@ -311,6 +320,11 @@
IX86_ONLY(_CIsqrt)
IX86_ONLY(_CItan)
IX86_ONLY(_CItanh)
+LONG64 MSVCRT__ftol(void)
+{
+ return 0;
+}
+
#endif /* defined(__GNUC__) && defined(__i386__) */
diff -ur wine/dlls/msvcrt/msvcrt.spec wine-develop/dlls/msvcrt/msvcrt.spec
--- wine/dlls/msvcrt/msvcrt.spec Wed Aug 13 18:28:58 2003
+++ wine-develop/dlls/msvcrt/msvcrt.spec Fri Aug 15 19:45:31 2003
@@ -243,7 +243,7 @@
@ cdecl _fstat(long ptr) MSVCRT__fstat
@ cdecl _fstati64(long ptr)
@ cdecl _ftime(ptr)
-@ cdecl _ftol() ntdll._ftol
+@ cdecl -ret64 _ftol() MSVCRT__ftol
@ cdecl _fullpath(ptr str long)
@ cdecl _futime(long ptr)
@ cdecl _gcvt(double long str)