[FFmpeg-devel] [PATCH] check for closesocket() in configure

François Revol revol
Fri Jul 13 13:27:53 CEST 2007


> Hi,
> 
> attached patch checks for closesocket() in configure. This renders 
> the

Unsafe as of BeOS.
Some versions of gcc still link libnet.so in by default on BONE 
systems, which contains closesocket for net_server apps, but one should 
not use it under BONE.
It might be just a wrapper around close() but I didn't check.

> Mingw port working again after Benoit's HAVE_AV_CONFIG_H changes.

r9453 | benoit | 2007-07-02 09:43:23 +0200 (Mon, 02 Jul 2007) | 5 lines
to be able to compile without HAVE_AV_CONFIG_H

??
Change which broke ffserver on BeOS.
There is a reason <sys/poll.h> was #ifdefed. If you put it a 2nd time 
without checking then it breaks.
And ffserver is *not* a sample code btw. No reason to build it without 
config.h.
Please revert that!

Fran?ois.




More information about the ffmpeg-devel mailing list