From 6f35ce045dd3ab57cac053301b1ebac4d5270501 Mon Sep 17 00:00:00 2001 From: Daniel Gibson Date: Tue, 28 Mar 2023 19:14:29 +0200 Subject: [PATCH] _alloca16(): Use __builtin_alloca_with_align() on GCC we're already using it with MinGW, no reason not to use it with "normal" GCC on Unix (and clang, which also defines __GNUC__) as well. --- neo/sys/platform.h | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/neo/sys/platform.h b/neo/sys/platform.h index 15ef90ee..d156d2fa 100644 --- a/neo/sys/platform.h +++ b/neo/sys/platform.h @@ -185,8 +185,13 @@ If you have questions concerning this license or the applicable additional terms // Unix #ifdef __unix__ -#define _alloca( x ) (({assert( (x)