mirror of
https://github.com/SerenityOS/serenity.git
synced 2025-01-23 18:02:05 -05:00
AK: #ifdef out the contents of SharedBuffer on other platforms
This commit is contained in:
parent
aab59eaaab
commit
ab57db2bf1
2 changed files with 8 additions and 0 deletions
|
@ -24,6 +24,8 @@
|
|||
* OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
|
||||
*/
|
||||
|
||||
#ifdef __serenity__
|
||||
|
||||
#include <AK/SharedBuffer.h>
|
||||
#include <AK/kmalloc.h>
|
||||
#include <Kernel/Syscall.h>
|
||||
|
@ -121,3 +123,5 @@ bool SharedBuffer::set_nonvolatile()
|
|||
}
|
||||
|
||||
}
|
||||
|
||||
#endif
|
||||
|
|
|
@ -26,6 +26,8 @@
|
|||
|
||||
#pragma once
|
||||
|
||||
#ifdef __serenity__
|
||||
|
||||
#include <AK/RefCounted.h>
|
||||
#include <AK/RefPtr.h>
|
||||
|
||||
|
@ -58,3 +60,5 @@ private:
|
|||
}
|
||||
|
||||
using AK::SharedBuffer;
|
||||
|
||||
#endif
|
||||
|
|
Loading…
Add table
Reference in a new issue