diff --git a/BAN/include/BAN/PlacementNew.h b/BAN/include/BAN/PlacementNew.h index b5fede7a..3dacc2a5 100644 --- a/BAN/include/BAN/PlacementNew.h +++ b/BAN/include/BAN/PlacementNew.h @@ -2,5 +2,9 @@ #include +#ifdef __banan_os__ inline void* operator new(size_t, void* addr) { return addr; } inline void* operator new[](size_t, void* addr) { return addr; } +#else +#include +#endif