From 7b9c7ddde4f751213e498e1784728634cc9c9560 Mon Sep 17 00:00:00 2001 From: Gary Talent <gtalent2@gmail.com> Date: Sat, 7 Jul 2018 14:37:57 -0500 Subject: [PATCH] [ox/std] Change how alloca determines which implementation to use --- deps/ox/src/ox/std/new.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deps/ox/src/ox/std/new.hpp b/deps/ox/src/ox/std/new.hpp index 5dd41540..c242f4da 100644 --- a/deps/ox/src/ox/std/new.hpp +++ b/deps/ox/src/ox/std/new.hpp @@ -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