Add SDL 2.0 compatibility.

Disable a run-time check required in SDL 1.2 due to a change in glibc.
Later versions of SDL 1.2 already have a fix for this change so no need
to do this for version 2.0.
This commit is contained in:
Mark de Wever 2013-02-17 18:42:47 +00:00
parent 77cb0a1ae9
commit 577fd3d29b

View file

@ -160,7 +160,7 @@ display::display(unit_map* units, CVideo& video, const gamemap* map, const std::
init_flags();
#if defined(__GLIBC__)
#if defined(__GLIBC__) && !SDL_VERSION_ATLEAST(2,0,0)
// Runtime checks for bug #17573
// Get glibc runtime version information
int glibc, glibc_minor;