summaryrefslogtreecommitdiff
path: root/src/input
diff options
context:
space:
mode:
Diffstat (limited to 'src/input')
-rw-r--r--src/input/inputmanager.h6
-rw-r--r--src/input/joystick.cpp6
-rw-r--r--src/input/joystick.h6
-rw-r--r--src/input/keyboardconfig.h6
4 files changed, 12 insertions, 12 deletions
diff --git a/src/input/inputmanager.h b/src/input/inputmanager.h
index f6627884e..db61053b0 100644
--- a/src/input/inputmanager.h
+++ b/src/input/inputmanager.h
@@ -29,10 +29,10 @@
#include <list>
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wshadow")
+PRAGMA48(GCC diagnostic push)
+PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_events.h>
-#pragma GCC diagnostic pop
+PRAGMA48(GCC diagnostic pop)
class Setup_Input;
diff --git a/src/input/joystick.cpp b/src/input/joystick.cpp
index 65f967838..4ad887461 100644
--- a/src/input/joystick.cpp
+++ b/src/input/joystick.cpp
@@ -31,10 +31,10 @@
#include "utils/timer.h"
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wshadow")
+PRAGMA48(GCC diagnostic push)
+PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL.h>
-#pragma GCC diagnostic pop
+PRAGMA48(GCC diagnostic pop)
#include "debug.h"
diff --git a/src/input/joystick.h b/src/input/joystick.h
index 19f028491..11e54f632 100644
--- a/src/input/joystick.h
+++ b/src/input/joystick.h
@@ -25,10 +25,10 @@
#include "events/inputevent.h"
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wshadow")
+PRAGMA48(GCC diagnostic push)
+PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_events.h>
-#pragma GCC diagnostic pop
+PRAGMA48(GCC diagnostic pop)
class Joystick final
{
diff --git a/src/input/keyboardconfig.h b/src/input/keyboardconfig.h
index c4fce5d17..8691571ae 100644
--- a/src/input/keyboardconfig.h
+++ b/src/input/keyboardconfig.h
@@ -25,10 +25,10 @@
#include "localconsts.h"
-#pragma GCC diagnostic push
-#pragma GCC diagnostic ignored "-Wshadow")
+PRAGMA48(GCC diagnostic push)
+PRAGMA48(GCC diagnostic ignored "-Wshadow")
#include <SDL_events.h>
-#pragma GCC diagnostic pop
+PRAGMA48(GCC diagnostic pop)
#include "sdlshared.h"