- Changed the definition of fpos_t to a 64bit value to get binutils
2.15.94 working.
Modified: trunk/reactos/include/msvcrt/stdio.h
_____
Modified: trunk/reactos/include/msvcrt/stdio.h
--- trunk/reactos/include/msvcrt/stdio.h 2005-02-13 13:49:55 UTC
(rev 13525)
+++ trunk/reactos/include/msvcrt/stdio.h 2005-02-13 15:38:56 UTC
(rev 13526)
@@ -325,9 +325,10 @@
* because the programmer using fgetpos and fsetpos will be setting
aside
* storage for fpos_t structres. Actually I tested using a byte array
and
* it is fairly evident that the fpos_t type is a long (in CRTDLL.DLL).
- * Perhaps an unsigned long? TODO?
+ * Perhaps an unsigned long? TODO? It's definitely a 64-bit number in
+ * MSVCRT however, and for now `long long' will do.
*/
-typedef long fpos_t;
+typedef long long fpos_t;
int fgetpos(FILE* fileGetPosition, fpos_t* pfpos);
int fsetpos(FILE* fileSetPosition, const fpos_t* pfpos);
Show replies by date