We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6a68618 commit 0d58594Copy full SHA for 0d58594
include/SDL3/SDL_begin_code.h
@@ -327,7 +327,7 @@
327
328
/* `restrict` is from C99, but __restrict works with both Visual Studio and GCC. */
329
#ifndef SDL_RESTRICT
330
-# if defined(restrict) || ((defined(__STDC_VERSION__) && (__STDC_VERSION__ < 199901)))
+# if defined(restrict) || ((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901)))
331
# defined SDL_RESTRICT restrict
332
# elif defined(_MSC_VER) || defined(__GNUC__) || defined(__clang__)
333
# define SDL_RESTRICT __restrict
0 commit comments