aboutsummaryrefslogtreecommitdiff
path: root/backends/platform/sdl/sdl-sys.h
AgeCommit message (Collapse)Author
2019-05-09SDL: Fix MSVC warningsSupSuper
Fixes warning C4121: alignment of a member was sensitive to packing by hiding warnings from system headers
2018-02-09SDL: Do not try to replace FILE with an incompatible typeColin Snover
It’s questionable that the SDL backend code is trying so hard to maintain forbidden symbols at all since backend code is exactly where such things are allowed, and it is a game of whack-a-mole to keep system API changes from breaking this fragile system of symbol redefinitions. Probably this should all just get replaced with a FORBIDDEN_SYMBOL_ALLOW_ALL, but for the time being this at least gets builds working again on up-to-date msys2/mingw-w64 compilers. Fixes Trac#10405.
2016-09-04SDL: Do not forbid time.h symbols when FORBIDDEN_SYMBOL_EXCEPTION_time_h is ↵Thierry Crozat
defined This hopefully fixes a regression from 848c5c3.
2016-08-20SDL: Fix build with MacPorts SDL2Tarek Soliman
2016-03-09SDL: Fix compilation with SDL2 and MSVC2015.Johannes Schickel
2016-02-15JANITORIAL: Typos detected with lintian & grepAlexandre Detiste
2015-03-06SDL: Fix compilation with SDL 2.0 under MSVCFilippos Karapetis
In SDL 2.0, intrin.h is now included in SDL_cpuinfo.h, which includes setjmp.h. SDL_cpuinfo.h is included from SDL.h and SDL_syswm.h. Thus, we remove the exceptions for setjmp and longjmp before these two includes.
2015-02-18WINCE: Fix compilation.Johannes Schickel
2015-01-25SDL: Fix typo.Johannes Schickel
2015-01-25SDL: Add experimental support for SDL2.Johannes Schickel
This is based upon skristiansson's change set to make ScummVM work with SDL2.
2014-02-18SDL: Make GPL headers consistent in themselves.Johannes Schickel
2013-07-04SDL: Fix compilation on Solaris 10.Johannes Schickel
This replaces a dummy FILE definition before including the SDL headers with simply using the toolchain's definition on Solaris. This is pretty harmless because we only allow FILE to be used in the SDL headers by this. Fixes bug #3614514 "#define FILE FAKE_FILE doesn't work on Solaris (w/ patch)". Thanks to lblume for his patch!
2011-06-22SDL: Allow building with current SDL 1.3hgBastien Bouclet
2011-06-20ALL: Remove trailing whitespacesMax Horn
This tries to make our code a bit more compliant with our code formatting conventions. For future use, this is the command I used: git ls-files "*.cpp" "*.h" | xargs sed -i -e 's/[ \t]*$//'
2011-05-12GIT: Clean up: Suppress SVN tags, now uselessstrangerke
2010-11-29SDL: Trying to cleanup the FORBIDDEN_SYMBOL situationMax Horn
svn-id: r54575
2010-11-29SDL: Move #include <SDL.h> into a special wrapper fileMax Horn
svn-id: r54572