SDL: fix inverted __STDC_VERSION__ condition in SDL_RESTRICT definition.

From 0d58594e667cda5ed821ae34f5a80cbc2dfa7299 Mon Sep 17 00:00:00 2001
From: Ozkan Sezer <[EMAIL REDACTED]>
Date: Fri, 30 May 2025 23:51:50 +0300
Subject: [PATCH] fix inverted __STDC_VERSION__ condition in SDL_RESTRICT
 definition.

---
 include/SDL3/SDL_begin_code.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/include/SDL3/SDL_begin_code.h b/include/SDL3/SDL_begin_code.h
index 79035b72a5883..6628b49b91cda 100644
--- a/include/SDL3/SDL_begin_code.h
+++ b/include/SDL3/SDL_begin_code.h
@@ -327,7 +327,7 @@
 
 /* `restrict` is from C99, but __restrict works with both Visual Studio and GCC. */
 #ifndef SDL_RESTRICT
-#  if defined(restrict) || ((defined(__STDC_VERSION__) && (__STDC_VERSION__ < 199901)))
+#  if defined(restrict) || ((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)))
 #    defined SDL_RESTRICT restrict
 #  elif defined(_MSC_VER) || defined(__GNUC__) || defined(__clang__)
 #    define SDL_RESTRICT __restrict