mirror of
https://github.com/SerenityOS/serenity
synced 2024-07-21 18:15:58 +00:00
AK: In Userspace.h, #if defined(KERNEL) => #ifdef KERNEL
This commit is contained in:
parent
5bf994d2d9
commit
6c1ba09fbd
|
@ -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…
Reference in a new issue