[ox/std] Change how alloca determines which implementation to use
This commit is contained in:
parent
d28f727742
commit
7b9c7ddde4
2
deps/ox/src/ox/std/new.hpp
vendored
2
deps/ox/src/ox/std/new.hpp
vendored
@ -15,7 +15,7 @@
|
||||
#if defined(_MSC_VER)
|
||||
#include <malloc.h>
|
||||
#define ox_alloca(size) _alloca(size)
|
||||
#elif __has_include(<alloca.h>)
|
||||
#elif OX_USE_STDLIB
|
||||
#include <alloca.h>
|
||||
#define ox_alloca(size) alloca(size)
|
||||
#else
|
||||
|
Loading…
x
Reference in New Issue
Block a user