sdl: move version logic from source code to makefile
commitd29c431edce6c0cd18fc5c4ecf31417c2569ae4a
authorGerd Hoffmann <kraxel@redhat.com>
Tue, 11 Nov 2014 09:13:08 +0000 (11 10:13 +0100)
committerGerd Hoffmann <kraxel@redhat.com>
Tue, 16 Dec 2014 13:15:27 +0000 (16 14:15 +0100)
treefbb4fa1964341b0720ebff005fd67db7b927e0a5
parentdfa9c2a0f4d0a0c8b2c1449ecdbb1297427e1560
sdl: move version logic from source code to makefile

Compile sdl.c / sdl2.c depending on CONFIG_SDLABI instead of
compiling both and have version #ifdefs in the source code.

Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Reviewed-by: Max Reitz <mreitz@redhat.com>
ui/Makefile.objs
ui/sdl.c
ui/sdl2.c