summaryrefslogtreecommitdiff
path: root/src/render
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/render
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/render')
-rw-r--r--src/render/sdl2softwaregraphics.cpp2
-rw-r--r--src/render/sdlgraphics.cpp2
2 files changed, 2 insertions, 2 deletions
diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp
index d60d70cc8..75effa3f9 100644
--- a/src/render/sdl2softwaregraphics.cpp
+++ b/src/render/sdl2softwaregraphics.cpp
@@ -39,7 +39,7 @@
#include "debug.h"
-#ifndef SDL_BYTEORDER
+#ifndef SDL_BIG_ENDIAN
#error missing SDL_endian.h
#endif // SDL_BYTEORDER
diff --git a/src/render/sdlgraphics.cpp b/src/render/sdlgraphics.cpp
index c0e9b58a3..3f146edba 100644
--- a/src/render/sdlgraphics.cpp
+++ b/src/render/sdlgraphics.cpp
@@ -38,7 +38,7 @@
#include "debug.h"
-#ifndef SDL_BYTEORDER
+#ifndef SDL_BIG_ENDIAN
#error missing SDL_endian.h
#endif // SDL_BYTEORDER