summaryrefslogtreecommitdiff
path: root/src/utils
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils')
-rw-r--r--src/utils/buildhex.h12
-rw-r--r--src/utils/physfsrwops.h11
-rw-r--r--src/utils/sdl2helper.h8
3 files changed, 0 insertions, 31 deletions
diff --git a/src/utils/buildhex.h b/src/utils/buildhex.h
index 39a9aa817..ac9773070 100644
--- a/src/utils/buildhex.h
+++ b/src/utils/buildhex.h
@@ -23,18 +23,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
-
#ifndef SDL_BIG_ENDIAN
#include <SDL_endian.h>
#endif // SDL_BYTEORDER
diff --git a/src/utils/physfsrwops.h b/src/utils/physfsrwops.h
index b72c5969d..6917afc5d 100644
--- a/src/utils/physfsrwops.h
+++ b/src/utils/physfsrwops.h
@@ -27,17 +27,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_rwops.h>
#include "utils/physfstools.h"
diff --git a/src/utils/sdl2helper.h b/src/utils/sdl2helper.h
index 9be1c25e5..5b95d6ebf 100644
--- a/src/utils/sdl2helper.h
+++ b/src/utils/sdl2helper.h
@@ -26,14 +26,6 @@
#include "localconsts.h"
-PRAGMA45(GCC diagnostic push)
-PRAGMA45(GCC diagnostic ignored "-Wswitch-default")
-#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_)
-
-PRAGMA45(GCC diagnostic pop)
#include <SDL_thread.h>
struct SDL_Surface;