diff options
Diffstat (limited to 'src/utils/sdl2helper.h')
-rw-r--r-- | src/utils/sdl2helper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h index 94567a25c..8e1333e16 100644 --- a/src/utils/sdl2helper.h +++ b/src/utils/sdl2helper.h @@ -27,7 +27,9 @@ #pragma GCC diagnostic push #pragma GCC diagnostic ignored "-Wswitch-default" #include <SDL_stdinc.h> -_SDL_stdinc_h +#if !defined(_SDL_stdinc_h) && !defined(SDL_stdinc_h_) && !defined(SDL_stdinc_h) +#error need include SDL_stdinc.h +#endif // !defined(_SDL_stdinc_h) && !defined(SDL_stdinc_h_) #pragma GCC diagnostic pop #include <SDL_thread.h> |