SDL: SDL_string.c: tidy-up gcc2 va_copy defines after previous haiku commit.

From 0abc0a6f323179cbc501ad6e30b6d17f19c30fc4 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Wed, 12 Jan 2022 20:37:32 +0300
Subject: [PATCH] SDL_string.c: tidy-up gcc2 va_copy defines after previous
 haiku commit.

---
 src/stdlib/SDL_string.c | 4 +---
 1 file changed, 1 insertion(+), 3 deletions(-)

diff --git a/src/stdlib/SDL_string.c b/src/stdlib/SDL_string.c
index bc46aecf6cd..695fccbc8e9 100644
--- a/src/stdlib/SDL_string.c
+++ b/src/stdlib/SDL_string.c
@@ -32,9 +32,7 @@
 /* Visual Studio 2013 tries to link with _vacopy in the C runtime. Newer versions do an inline assignment */
 #undef va_copy
 #define va_copy(dst, src)   dst = src
-#endif
-
-#if __GNUC__ == 2
+#elif defined(__GNUC__) && (__GNUC__ < 3)
 #define va_copy(to, from)   __va_copy(to, from)
 #endif