mirror of
https://github.com/taglib/taglib.git
synced 2025-06-04 01:28:21 -04:00
Removed some useless #ifdefs. _LARGEFILE_SOURCE is always defined.
This commit is contained in:
parent
7345b7569f
commit
34f5a7da0d
@ -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
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user