Missing declaration for MSVCRT_div_t and MSVCRT_ldiv_t

Pierre d'Herbemont stegefin at free.fr
Tue Jun 29 06:27:23 CDT 2004


Hi!

On non-i386 we have to define MSVCRT_div_t and MSVCRT_ldiv_t.

Thanks,

Pierre.

ChangeLog:
Define MSVCRT_div_t and MSVCRT_ldiv_t.

-------------- next part --------------
Index: dlls/msvcrt/msvcrt.h
===================================================================
RCS file: /home/wine/wine/dlls/msvcrt/msvcrt.h,v
retrieving revision 1.26
diff -u -r1.26 msvcrt.h
--- dlls/msvcrt/msvcrt.h	25 Jun 2004 01:19:15 -0000	1.26
+++ dlls/msvcrt/msvcrt.h	29 Jun 2004 11:22:43 -0000
@@ -56,6 +56,14 @@
 typedef long MSVCRT_clock_t;
 typedef long MSVCRT_time_t;
 typedef long MSVCRT_fpos_t;
+typedef struct {
+	int quot;		/* quotient */
+	int rem;		/* remainder */
+} MSVCRT_div_t;
+typedef struct {
+	long quot;		/* quotient */
+	long rem;		/* remainder */
+} MSVCRT_ldiv_t;
 
 typedef void (*MSVCRT_terminate_handler)();
 typedef void (*MSVCRT_terminate_function)();


More information about the wine-patches mailing list