From 6277bda6037d99148daa525bb5bd8a35046f3911 Mon Sep 17 00:00:00 2001 From: Hartmut Birr Date: Sun, 13 Feb 2005 15:38:56 +0000 Subject: [PATCH] - Changed the definition of fpos_t to a 64bit value to get binutils 2.15.94 working. svn path=/trunk/; revision=13526 --- reactos/include/msvcrt/stdio.h | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/reactos/include/msvcrt/stdio.h b/reactos/include/msvcrt/stdio.h index 1dd886bf18e..83d10ce5de2 100644 --- a/reactos/include/msvcrt/stdio.h +++ b/reactos/include/msvcrt/stdio.h @@ -325,9 +325,10 @@ void rewind(FILE* fileRewind); * 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);