1
Fork 0
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:
Andreas Kling 2019-01-31 02:56:54 +01:00
parent 2c6a3f1907
commit 6b88025dda
2 changed files with 0 additions and 10 deletions

View file

@ -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;