Skip to content

Commit 121df30

Browse files
committed
Visual Studio 2003 (and older) do not support variadic macros
1 parent 049eeee commit 121df30

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

include/SDL3/SDL_dlopennote.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
"\",\"soname\":" SDL_SONAME_ARRAY(__VA_ARGS__) "}]", \
205205
SDL_ELF_NOTE_UNIQUE_NAME)
206206

207-
#elif defined (__GNUC__) && __GNUC__ < 3
207+
#elif (defined (__GNUC__) && __GNUC__ < 3) || (defined(_MSC_VER) && (_MSC_VER < 1400))
208208

209209
/* Variadic macros are not supported */
210210
#define SDL_ELF_NOTE_DLOPEN

0 commit comments

Comments
 (0)