[vlc-devel] [PATCH] include/vlc_fixups.h: Prevent redefinition of iovec structure.

Steve Lhomme robux4 at ycbcr.xyz
Fri Sep 4 08:09:41 CEST 2020


On 2020-09-04 7:57, Alexandre Janniaux wrote:
> Hi,
> 
> On Fri, Sep 04, 2020 at 07:32:33AM +0200, Steve Lhomme wrote:
>> Hi,
>>
>> You should check the structure exists in configure.ac, like it's done for
>> pollfd. Then you'll have a HAVE_STRUCT_IOVEC you can use.
> 
> This won't solve the issue raised by the PO here, since the

What is a PO ?

> definition of struct iovec is from a library and not the
> system headers.
> 
> However, it doesn't seem correct to use the same define as
> one of the library to workaround this issue. The correct
> fix might be to prevent this structure from being declared
> from the vncserver library headers first.
> 
> Regards,
> --
> Alexandre Janniaux
> Videolabs
> _______________________________________________
> vlc-devel mailing list
> To unsubscribe or modify your subscription options:
> https://mailman.videolan.org/listinfo/vlc-devel
> 


More information about the vlc-devel mailing list