From 98d045827e23da03050f8aaf1779126910de774d Mon Sep 17 00:00:00 2001 From: Gary Talent Date: Sun, 16 Jun 2019 01:04:57 -0500 Subject: [PATCH] [ox/std] Fix placement new declaration to use stdlib declaration if available --- deps/ox/src/ox/std/new.hpp | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/deps/ox/src/ox/std/new.hpp b/deps/ox/src/ox/std/new.hpp index b7900f6e..c958411e 100644 --- a/deps/ox/src/ox/std/new.hpp +++ b/deps/ox/src/ox/std/new.hpp @@ -22,7 +22,11 @@ #endif +#if __has_include() +#include +#else void *operator new(std::size_t, void*) noexcept; +#endif /**