summaryrefslogtreecommitdiff
path: root/src/utils/sdlhelper.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/sdlhelper.h')
-rw-r--r--src/utils/sdlhelper.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h
index 831473adc..2e9f2930d 100644
--- a/src/utils/sdlhelper.h
+++ b/src/utils/sdlhelper.h
@@ -28,7 +28,10 @@ UTILS_SDL2HELPER_H
#else
#include "utils/stringvector.h"
+#pragma GCC diagnostic push
+#pragma GCC diagnostic ignored "-Wshadow")
#include <SDL_thread.h>
+#pragma GCC diagnostic pop
#include "localconsts.h"