[ox/std] Fix placement new declaration to use stdlib declaration if available
This commit is contained in:
parent
14a40bdcd6
commit
98d045827e
4
deps/ox/src/ox/std/new.hpp
vendored
4
deps/ox/src/ox/std/new.hpp
vendored
@ -22,7 +22,11 @@
|
|||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
|
||||||
|
#if __has_include(<new>)
|
||||||
|
#include <new>
|
||||||
|
#else
|
||||||
void *operator new(std::size_t, void*) noexcept;
|
void *operator new(std::size_t, void*) noexcept;
|
||||||
|
#endif
|
||||||
|
|
||||||
|
|
||||||
/**
|
/**
|
||||||
|
Loading…
Reference in New Issue
Block a user