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 0d58594 commit 329b5f2Copy full SHA for 329b5f2
include/SDL3/SDL_begin_code.h
@@ -327,8 +327,8 @@
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)))
331
-# defined SDL_RESTRICT restrict
+# if defined(restrict) || ((defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L)))
+# define SDL_RESTRICT restrict
332
# elif defined(_MSC_VER) || defined(__GNUC__) || defined(__clang__)
333
# define SDL_RESTRICT __restrict
334
# else
0 commit comments