Re: [PATCH 2/3] configure: Fix building with SASL on Windows

2020-03-09 Thread Philippe Mathieu-Daudé
On 3/9/20 10:57 AM, Daniel P. Berrangé wrote: On Sat, Mar 07, 2020 at 06:22:21PM +0100, Philippe Mathieu-Daudé wrote: The Simple Authentication and Security Layer (SASL) library re-defines the struct iovec on Win32 [*]. QEMU also re-defines it in "qemu/osdep.h". The two definitions then clash on

Re: [PATCH 2/3] configure: Fix building with SASL on Windows

2020-03-09 Thread Daniel P . Berrangé
On Sat, Mar 07, 2020 at 06:22:21PM +0100, Philippe Mathieu-Daudé wrote: > The Simple Authentication and Security Layer (SASL) library > re-defines the struct iovec on Win32 [*]. QEMU also re-defines > it in "qemu/osdep.h". The two definitions then clash on a MinGW > build. > We can avoid the SASL d

[PATCH 2/3] configure: Fix building with SASL on Windows

2020-03-07 Thread Philippe Mathieu-Daudé
The Simple Authentication and Security Layer (SASL) library re-defines the struct iovec on Win32 [*]. QEMU also re-defines it in "qemu/osdep.h". The two definitions then clash on a MinGW build. We can avoid the SASL definition by defining STRUCT_IOVEC_DEFINED. Add the definition to vnc_sasl_cflags