mirror of
https://github.com/RGBCube/serenity
synced 2025-05-17 18:55:07 +00:00
Make it possible to build the Kernel on a macOS host.
It still requires an ELF compiler and linker, but at least it builds. I need to get rid of the "Unix" namespace. This does a lot of that.
This commit is contained in:
parent
44036f32bc
commit
85b886c2e0
31 changed files with 88 additions and 94 deletions
|
@ -17,12 +17,12 @@ bool NullDevice::hasDataAvailableForRead() const
|
|||
return true;
|
||||
}
|
||||
|
||||
Unix::ssize_t NullDevice::read(byte*, Unix::size_t)
|
||||
ssize_t NullDevice::read(byte*, size_t)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
Unix::ssize_t NullDevice::write(const byte*, Unix::size_t bufferSize)
|
||||
ssize_t NullDevice::write(const byte*, size_t bufferSize)
|
||||
{
|
||||
return min(GoodBufferSize, bufferSize);
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue