From 121df30a8ae953a22ba1df4d5959e09f0f4f1c84 Mon Sep 17 00:00:00 2001 From: Anonymous Maarten Date: Sat, 11 Oct 2025 00:29:28 +0200 Subject: [PATCH] Visual Studio 2003 (and older) do not support variadic macros --- include/SDL3/SDL_dlopennote.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/SDL3/SDL_dlopennote.h b/include/SDL3/SDL_dlopennote.h index 117336e235..b4e6088523 100644 --- a/include/SDL3/SDL_dlopennote.h +++ b/include/SDL3/SDL_dlopennote.h @@ -204,7 +204,7 @@ "\",\"soname\":" SDL_SONAME_ARRAY(__VA_ARGS__) "}]", \ SDL_ELF_NOTE_UNIQUE_NAME) -#elif defined (__GNUC__) && __GNUC__ < 3 +#elif (defined (__GNUC__) && __GNUC__ < 3) || (defined(_MSC_VER) && (_MSC_VER < 1400)) /* Variadic macros are not supported */ #define SDL_ELF_NOTE_DLOPEN