summaryrefslogtreecommitdiff
path: root/src/resources/sdl2softwarescreenshothelper.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-11-04 23:51:03 +0300
committerAndrei Karas <akaras@inbox.ru>2016-11-04 23:51:03 +0300
commita634b3c1ca521c79f5f1d5412e68c73e18a39526 (patch)
tree2ce2d61c028b1d230780505fe1a05ad2d430efd8 /src/resources/sdl2softwarescreenshothelper.cpp
parent165eef78d8860585fcde8f1e7b128723c240777d (diff)
downloadmv-a634b3c1ca521c79f5f1d5412e68c73e18a39526.tar.gz
mv-a634b3c1ca521c79f5f1d5412e68c73e18a39526.tar.bz2
mv-a634b3c1ca521c79f5f1d5412e68c73e18a39526.tar.xz
mv-a634b3c1ca521c79f5f1d5412e68c73e18a39526.zip
Fix some defines/includes, because in some systems it may works wrong.
Diffstat (limited to 'src/resources/sdl2softwarescreenshothelper.cpp')
-rw-r--r--src/resources/sdl2softwarescreenshothelper.cpp6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/resources/sdl2softwarescreenshothelper.cpp b/src/resources/sdl2softwarescreenshothelper.cpp
index af9982fa1..4e57d21d2 100644
--- a/src/resources/sdl2softwarescreenshothelper.cpp
+++ b/src/resources/sdl2softwarescreenshothelper.cpp
@@ -28,14 +28,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
-
Sdl2SoftwareScreenshotHelper::Sdl2SoftwareScreenshotHelper() :
ScreenshotHelper()
{