mirror of
https://github.com/reactos/reactos.git
synced 2024-12-27 01:24:38 +00:00
- Changed the definition of fpos_t to a 64bit value to get binutils 2.15.94 working.
svn path=/trunk/; revision=13526
This commit is contained in:
parent
b331ffc1b7
commit
6277bda603
1 changed files with 3 additions and 2 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue