From 95b22ac5cb64e3e52c578208fa1d26ec9374eb45 Mon Sep 17 00:00:00 2001 From: SiZiOUS Date: Sat, 19 Jul 2025 18:45:42 +0200 Subject: [PATCH] embed: Fix alloca include for MinGW-w64 (Windows). Signed-off-by: SiZiOUS --- ports/embed/port/mpconfigport_common.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ports/embed/port/mpconfigport_common.h b/ports/embed/port/mpconfigport_common.h index 8e19859ed2ed9..ed01fb3216d36 100644 --- a/ports/embed/port/mpconfigport_common.h +++ b/ports/embed/port/mpconfigport_common.h @@ -34,8 +34,13 @@ typedef long mp_off_t; // Need to provide a declaration/definition of alloca() #if defined(__FreeBSD__) || defined(__NetBSD__) +// BSD #include +#elif defined(_WIN32) && (defined(__MINGW64_VERSION_MAJOR) || defined(__MINGW32_VERSION_MAJOR)) +// MinGW-w64; others Windows compilers probably need this too +#include #else +// Others #include #endif pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy