mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 12:48:10 +00:00
Remove the last remaining #ifndef SERENITY blocks.
This commit is contained in:
parent
2c6a3f1907
commit
6b88025dda
2 changed files with 0 additions and 10 deletions
|
@ -129,10 +129,6 @@ off_t FileDescriptor::seek(off_t offset, int whence)
|
|||
break;
|
||||
case SEEK_CUR:
|
||||
newOffset = m_current_offset + offset;
|
||||
#ifndef SERENITY
|
||||
if (additionWouldOverflow(m_currentOffset, offset))
|
||||
return -EOVERFLOW;
|
||||
#endif
|
||||
if (newOffset < 0)
|
||||
return -EINVAL;
|
||||
break;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue