diff options
Diffstat (limited to 'src/resources/screenshothelper.h')
-rw-r--r-- | src/resources/screenshothelper.h | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/src/resources/screenshothelper.h b/src/resources/screenshothelper.h index c66ed1e52..e37db92ed 100644 --- a/src/resources/screenshothelper.h +++ b/src/resources/screenshothelper.h @@ -28,11 +28,13 @@ #pragma GCC diagnostic ignored "-Wswitch-default" #endif // USE_SDL2 #include <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_) #ifdef USE_SDL2 #pragma GCC diagnostic pop #endif // USE_SDL2 -_SDL_stdinc_h #include <SDL_video.h> #include "localconsts.h" |