summaryrefslogtreecommitdiff
path: root/src/resources
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-02-07 20:39:07 +0300
committerAndrei Karas <akaras@inbox.ru>2017-02-07 20:39:07 +0300
commitc2d2197d7d70dc1090bcdddca3dc04fc0a8d7744 (patch)
treef0a06acf9af3299dc6701d273b386681de1b0df3 /src/resources
parentf86a584d8f19a06d06acaef3ad1f9d3eef4690ad (diff)
downloadmanaverse-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.tar.gz
manaverse-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.tar.bz2
manaverse-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.tar.xz
manaverse-c2d2197d7d70dc1090bcdddca3dc04fc0a8d7744.zip
Remove extra include SDL_stdinc.h.
Diffstat (limited to 'src/resources')
-rw-r--r--src/resources/screenshothelper.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/src/resources/screenshothelper.h b/src/resources/screenshothelper.h
index 6ae396cd0..cb4180147 100644
--- a/src/resources/screenshothelper.h
+++ b/src/resources/screenshothelper.h
@@ -25,18 +25,6 @@
#include "localconsts.h"
-#ifdef USE_SDL2
-PRAGMA45(GCC diagnostic push)
-PRAGMA45(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
-PRAGMA45(GCC diagnostic pop)
-#endif // USE_SDL2
-
#include <SDL_video.h>
class ScreenshotHelper notfinal