1
0
Fork 0
mirror of https://github.com/LadybirdBrowser/ladybird.git synced 2025-06-09 09:34:57 +09:00

AK: Have AK/kmalloc.h #include <new> on other platforms

This should make stuff like placement new work correctly when building
outside of Serenity. This stuff is a bit delicate due to the weirdly
staged toolchain build at the moment. Hopefully we can unify this stuff
in the future.
This commit is contained in:
Andreas Kling 2020-02-25 15:58:24 +01:00
parent 00e744c263
commit 6824cb17a6
Notes: sideshowbarker 2024-07-19 09:04:10 +09:00
2 changed files with 4 additions and 4 deletions

View file

@ -26,6 +26,10 @@
#pragma once
#ifndef __serenity__
# include <new>
#endif
#ifdef KERNEL
# define AK_MAKE_ETERNAL \
public: \