mirror of
https://github.com/pbatard/rufus.git
synced 2025-06-03 16:19:01 -04:00
parent
31d11c6c1f
commit
e530065099
3 changed files with 12 additions and 9 deletions
|
@ -47,7 +47,8 @@
|
|||
#include <stdio.h>
|
||||
#include <io.h>
|
||||
static __inline int fseeko64(FILE *stream, __int64 offset, int origin) {
|
||||
return (lseek64(_fileno(stream), offset, origin) == -1L)?-1:0;
|
||||
fflush(stream); /* VERY IMPORTANT! */
|
||||
return (lseek64(_fileno(stream), offset, origin) == -1LL)?-1:0;
|
||||
}
|
||||
#else
|
||||
#define fseeko64 _fseeki64
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue