mirror of
https://github.com/libsdl-org/SDL.git
synced 2026-06-18 03:58:54 +00:00
fix inverted __STDC_VERSION__ condition in SDL_RESTRICT definition.
This commit is contained in:
parent
6a686185f7
commit
0d58594e66
1 changed files with 1 additions and 1 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue