mirror of
https://github.com/RGBCube/serenity
synced 2025-05-31 06:58:11 +00:00
Import very modest Userland.
This commit is contained in:
parent
4cbf079a17
commit
63764b3a65
23 changed files with 81 additions and 27 deletions
|
@ -14,7 +14,7 @@ public:
|
|||
|
||||
ByteBuffer readEntireFile();
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
int fd() const { return m_fd; }
|
||||
void setFD(int fd) { m_fd = fd; }
|
||||
#endif
|
||||
|
@ -26,7 +26,7 @@ private:
|
|||
|
||||
Unix::off_t m_currentOffset { 0 };
|
||||
|
||||
#ifdef SERENITY_KERNEL
|
||||
#ifdef SERENITY
|
||||
int m_fd { -1 };
|
||||
#endif
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue