mirror of
https://github.com/RGBCube/serenity
synced 2025-05-28 14:35:08 +00:00
Kernel: Remove Limits.h
This commit is contained in:
parent
a095a90b51
commit
58c4d41c5f
10 changed files with 9 additions and 24 deletions
|
@ -112,7 +112,7 @@ bool addition_would_overflow(off_t a, off_t b)
|
|||
{
|
||||
ASSERT(a > 0);
|
||||
uint64_t ua = a;
|
||||
return (ua + b) > maxFileOffset;
|
||||
return (ua + b) > OFF_T_MAX;
|
||||
}
|
||||
|
||||
KResult FileDescriptor::fstat(stat& buffer)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue