mirror of
https://github.com/RGBCube/serenity
synced 2025-07-27 06:37:44 +00:00
AK: In Userspace.h, #if defined(KERNEL) => #ifdef KERNEL
This commit is contained in:
parent
5bf994d2d9
commit
6c1ba09fbd
1 changed files with 2 additions and 2 deletions
|
@ -42,7 +42,7 @@ public:
|
|||
operator bool() const { return m_ptr; }
|
||||
operator FlatPtr() const { return (FlatPtr)m_ptr; }
|
||||
|
||||
#if defined(KERNEL)
|
||||
#ifdef KERNEL
|
||||
Userspace(FlatPtr ptr)
|
||||
: m_ptr(ptr)
|
||||
{
|
||||
|
@ -60,7 +60,7 @@ public:
|
|||
#endif
|
||||
|
||||
private:
|
||||
#if defined(KERNEL)
|
||||
#ifdef KERNEL
|
||||
FlatPtr m_ptr { 0 };
|
||||
#else
|
||||
T m_ptr { nullptr };
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue