diff --git a/mingw-w64-headers-1.0b.20100730-c99.patch b/mingw-w64-headers-1.0b.20100730-c99.patch index 1eb087d..d40f8be 100644 --- a/mingw-w64-headers-1.0b.20100730-c99.patch +++ b/mingw-w64-headers-1.0b.20100730-c99.patch @@ -133,13 +133,14 @@ #ifndef NO_OLDNAMES --- mingw-w64-headers-1.0b.20100730/include/stdio.h 2010-07-23 14:02:19.000000000 +0200 -+++ mingw-w64-headers-1.0b.20100730/include/stdio.h 2010-08-15 16:31:24.000000000 +0200 ++++ mingw-w64-headers-1.0b.20100730/include/stdio.h 2010-08-15 22:11:04.000000000 +0200 @@ -174,23 +174,23 @@ int __cdecl fflush(FILE *_File); int __cdecl fgetc(FILE *_File); _CRTIMP int __cdecl _fgetchar(void); - int __cdecl fgetpos(FILE *_File ,fpos_t *_Pos); - char *__cdecl fgets(char *_Buf,int _MaxCount,FILE *_File); +- char *__cdecl fgets(char *_Buf,int _MaxCount,FILE *_File); ++ int __cdecl fgetpos(FILE * __restrict__ _File ,fpos_t * __restrict__ _Pos); + char *__cdecl fgets(char * __restrict__ _Buf,int _MaxCount,FILE * __restrict__ _File); _CRTIMP int __cdecl _fileno(FILE *_File); #ifdef _POSIX_