[FFmpeg-devel] [PATCH] socklen_t definition
KO Myung-Hun
komh
Mon Sep 17 10:56:52 CEST 2007
Hi/2.
M?ns Rullg?rd wrote:
> KO Myung-Hun <komh at chollian.net> writes:
>
>
>> Index: configure
>> ===================================================================
>> --- configure (revision 10425)
>> +++ configure (working copy)
>> @@ -534,6 +535,26 @@
>> EOF
>> }
>>
>> +check_type(){
>> + log check_type "$@"
>> + headers=$1
>> + type=$2
>> + shift 2
>> + disable $type
>> + incs=""
>> + for hdr in $headers; do
>> + incs="$incs
>> +#include <$hdr>"
>> + done
>> + check_ld "$@" <<EOF && enable $type
>> +$incs
>> +int main(){
>> + $type v;
>> + return 0;
>> +}
>> +EOF
>> +}
>>
>
> There's no need for a main() function or to run the linker. All you
> need is check_cc with a global declaration.
>
>
Ah, like this ?
--
KO Myung-Hun
Using Mozilla SeaMonkey 1.1.4
Under OS/2 Warp 4 for Korean with FixPak #15
On AMD ThunderBird 750 MHz with 512 MB RAM
Korean OS/2 User Community : http://www.ecomstation.co.kr
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: socklen_t.diff
URL: <http://lists.mplayerhq.hu/pipermail/ffmpeg-devel/attachments/20070917/c8db55c3/attachment.asc>
More information about the ffmpeg-devel
mailing list