[FFmpeg-devel] [PATCH] configure: check SDL2 function with a header

James Almer jamrial at gmail.com
Sun Jan 7 05:12:00 EET 2018


On 1/7/2018 12:07 AM, KO Myung-Hun wrote:
> Ping ?
> 
> KO Myung-Hun wrote:
>> Hi/2.
>>
>> Derek Buitenhuis wrote:
>>> 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.
>>>
>>
>> Updated.

Pushed.


More information about the ffmpeg-devel mailing list