[ox/std] Change how alloca determines which implementation to use

This commit is contained in:
Gary Talent 2018-07-07 14:37:57 -05:00
parent d28f727742
commit 7b9c7ddde4

View File

@ -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