| 267 | return -1; |
| 268 | } |
| 269 | static __int64 LONG_TELL(FILE* file) { |
| 270 | LARGE_INTEGER off, newOff; |
| 271 | off.QuadPart = 0; |
| 272 | newOff.QuadPart = 0; |
| 273 | SetFilePointerEx((HANDLE) _get_osfhandle(_fileno(file)), off, &newOff, FILE_CURRENT); |
| 274 | return newOff.QuadPart; |
| 275 | } |
| 276 | #else |
| 277 | # define LONG_SEEK fseek |
| 278 | # define LONG_TELL ftell |