Removed some useless #ifdefs. _LARGEFILE_SOURCE is always defined.

This commit is contained in:
Tsuda Kageyu 2014-08-04 14:09:08 +09:00
parent 7345b7569f
commit 34f5a7da0d

View File

@ -394,16 +394,8 @@ void FileStream::seek(offset_t offset, Position p)
return;
}
# ifdef _LARGEFILE_SOURCE
fseeko(d->file, offset, whence);
# else
fseek(d->file, static_cast<long>(offset), whence);
# endif
#endif
}
@ -440,16 +432,8 @@ offset_t FileStream::tell() const
#else
# ifdef _LARGEFILE_SOURCE
return ftello(d->file);
# else
return static_cast<offset_t>(ftell(d->file));
# endif
#endif
}