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:
parent
77cb0a1ae9
commit
577fd3d29b
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Reference in a new issue