diff options
Diffstat (limited to 'src/resources/sdl2softwarescreenshothelper.cpp')
-rw-r--r-- | src/resources/sdl2softwarescreenshothelper.cpp | 6 |
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() { |