From 8733927e359ab728f8eff19c6ec06c115be4c5d4 Mon Sep 17 00:00:00 2001 From: Sam Lantinga Date: Fri, 25 Nov 2022 10:06:36 -0800 Subject: [PATCH] Remove SDL_stdinc.h dependency on HAVE_ALLOCA Assume alloca() is available on all modern systems --- include/SDL_stdinc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL_stdinc.h b/include/SDL_stdinc.h index 68e75b6ad..da643b35c 100644 --- a/include/SDL_stdinc.h +++ b/include/SDL_stdinc.h @@ -92,7 +92,7 @@ #ifdef HAVE_FLOAT_H # include #endif -#if defined(HAVE_ALLOCA) && !defined(alloca) +#if !defined(alloca) # if defined(HAVE_ALLOCA_H) # include # elif defined(__GNUC__)