From 5e37f24550e133d985945bb008782df543e1f428 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Tue, 20 Jun 2017 03:06:00 +0300 Subject: Fix sdl warning hiding pragmas for old compilers. --- src/utils/sdlhelper.h | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'src/utils/sdlhelper.h') diff --git a/src/utils/sdlhelper.h b/src/utils/sdlhelper.h index 2e9f2930d..0ba99df10 100644 --- a/src/utils/sdlhelper.h +++ b/src/utils/sdlhelper.h @@ -28,13 +28,13 @@ UTILS_SDL2HELPER_H #else #include "utils/stringvector.h" -#pragma GCC diagnostic push -#pragma GCC diagnostic ignored "-Wshadow") -#include -#pragma GCC diagnostic pop - #include "localconsts.h" +PRAGMA48(GCC diagnostic push) +PRAGMA48(GCC diagnostic ignored "-Wshadow") +#include +PRAGMA48(GCC diagnostic pop) + struct SDL_Surface; struct SDL_SysWMinfo; -- cgit v1.2.3-60-g2f50