[Ffmpeg-devel] [PATCH] configure - simplify stdcall checks
Ramiro Polla
angustia
Thu Feb 8 16:45:02 CET 2007
M?ns Rullg?rd wrote:
> ramiro at lisha.ufsc.br writes:
>
>
>> Hello,
>>
>> Attached patch add functions similar to check_func, check_lib and require,
>> but that test a function with an argument and a header file.
>>
>> Simplifies stdcall function checking. Will also be used to properly detect
>> static pthreads-w32 on Windows, and to detect network functions from
>> winsock.
>>
>
> That won't work without a little more work. The stupid faad header
> requires stdint.h be included first, and vfw.h does the same with
> windows.h.
>
>
I remember seeing that warning somewhere (about the faad header
requiring stdint.h first), but everything worked with this patch.
MinGW's vfw.h includes windows.h internally (Microsoft's doesn't, but we
don't care).
both faad2 and faad worked.
faac typedefs int32_t to int if it hasn't been defined, which doesn't
matter for this test (it doesn't use int32_t, only char* and int).
Ramiro Polla
More information about the ffmpeg-devel
mailing list