1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 11:28:12 +00:00

AK: #ifdef out the contents of SharedBuffer on other platforms

This commit is contained in:
Andreas Kling 2020-02-01 17:22:44 +01:00
parent aab59eaaab
commit ab57db2bf1
2 changed files with 8 additions and 0 deletions

View file

@ -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