diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-11-04 23:51:03 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-11-04 23:51:03 +0300 |
commit | a634b3c1ca521c79f5f1d5412e68c73e18a39526 (patch) | |
tree | 2ce2d61c028b1d230780505fe1a05ad2d430efd8 /src/being/compoundsprite.cpp | |
parent | 165eef78d8860585fcde8f1e7b128723c240777d (diff) | |
download | manaverse-a634b3c1ca521c79f5f1d5412e68c73e18a39526.tar.gz manaverse-a634b3c1ca521c79f5f1d5412e68c73e18a39526.tar.bz2 manaverse-a634b3c1ca521c79f5f1d5412e68c73e18a39526.tar.xz manaverse-a634b3c1ca521c79f5f1d5412e68c73e18a39526.zip |
Fix some defines/includes, because in some systems it may works wrong.
Diffstat (limited to 'src/being/compoundsprite.cpp')
-rw-r--r-- | src/being/compoundsprite.cpp | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/src/being/compoundsprite.cpp b/src/being/compoundsprite.cpp index e1349e0ef..b41e6c0b5 100644 --- a/src/being/compoundsprite.cpp +++ b/src/being/compoundsprite.cpp @@ -48,14 +48,12 @@ #include "utils/timer.h" #endif // USE_SDL2 +#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 - #ifndef USE_SDL2 static const int BUFFER_WIDTH = 100; static const int BUFFER_HEIGHT = 100; |