Skip to content
Snippets Groups Projects
Commit d03c39b4 authored by KO Myung-Hun's avatar KO Myung-Hun Committed by James Almer
Browse files

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: default avatarDerek Buitenhuis <derek.buitenhuis@gmail.com>
Signed-off-by: default avatarJames Almer <jamrial@gmail.com>
parent 9e68f472
Branches
Tags
No related merge requests found
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment