[FFmpeg-devel] [PATCH] configure: check SDL2 function with a header
Derek Buitenhuis
derek.buitenhuis at gmail.com
Fri Dec 29 21:49:38 EET 2017
On 12/29/2017 6:36 AM, KO Myung-Hun wrote:
> Sorry about that.
>
> 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'.
Thanks for the explanation. Patch LGTM with this added to the commit message.
- Derek
More information about the ffmpeg-devel
mailing list