summaryrefslogtreecommitdiff
path: root/src/resources/sdlscreenshothelper.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/resources/sdlscreenshothelper.cpp')
-rw-r--r--src/resources/sdlscreenshothelper.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/sdlscreenshothelper.cpp b/src/resources/sdlscreenshothelper.cpp
index 5062be44d..831875322 100644
--- a/src/resources/sdlscreenshothelper.cpp
+++ b/src/resources/sdlscreenshothelper.cpp
@@ -26,14 +26,12 @@
#include "utils/sdlcheckutils.h"
+#ifndef SDL_BIG_ENDIAN
#include <SDL_endian.h>
+#endif // SDL_BYTEORDER
#include "debug.h"
-#ifndef SDL_BYTEORDER
-#error missing SDL_endian.h
-#endif // SDL_BYTEORDER
-
SdlScreenshotHelper::SdlScreenshotHelper() :
ScreenshotHelper()
{