]> git.sesse.net Git - ffmpeg/commit
configure: check SDL2 function with a header
authorKO Myung-Hun <komh@chollian.net>
Thu, 28 Dec 2017 14:41:30 +0000 (23:41 +0900)
committerJames Almer <jamrial@gmail.com>
Sun, 7 Jan 2018 03:09:40 +0000 (00:09 -0300)
commitd03c39b46b21c893d6549a532289b7fb9935b3fc
tree1c1b4cb64f17702bc9b99b16d0519fabbd9c4178
parent9e68f472ec5d07538ea2f86c66f6ff534583028c
configure: check SDL2 function with a header

SDL2 uses SDLCALL to specify a calling convention. On OS/2, it's defined
to `_System' which is similar to `_cdecl' but does not prepend '_'.

After all, without a header, a function is used without `_System'. And
linker will try to `_func' but fail because the function is `func' not
`_func'.

Reviewed-by: Derek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: James Almer <jamrial@gmail.com>
configure