div in msvcrt

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



This was in msvcrt/stdlib.h since version 1.1, probably straight from
mingw. It caused some problems because div_t is a structure, not a long
long (same thing for ldiv_t).

Changelog:
Fixed the definition of div/ldiv.

Vincent
Index: wine/include/msvcrt/stdlib.h
===================================================================
RCS file: /home/wine/wine/include/msvcrt/stdlib.h,v
retrieving revision 1.12
diff -u -r1.12 stdlib.h
--- wine/include/msvcrt/stdlib.h	22 Mar 2003 21:15:41 -0000	1.12
+++ wine/include/msvcrt/stdlib.h	12 Apr 2003 18:39:08 -0000
@@ -168,13 +168,8 @@
 int         MSVCRT(atoi)(const char*);
 long        MSVCRT(atol)(const char*);
 void*       MSVCRT(calloc)(MSVCRT(size_t),MSVCRT(size_t));
-#ifdef __i386__
-long long    MSVCRT(div)(int,int);
-unsigned long long MSVCRT(ldiv)(long,long);
-#else
 MSVCRT(div_t) MSVCRT(div)(int,int);
 MSVCRT(ldiv_t) MSVCRT(ldiv)(long,long);
-#endif
 void        MSVCRT(exit)(int);
 void        MSVCRT(free)(void*);
 char*       MSVCRT(getenv)(const char*);

[Index of Archives]     [Gimp for Windows]     [Red Hat]     [Samba]     [Yosemite Camping]     [Graphics Cards]     [Wine Home]

  Powered by Linux