Re: [Openvpn-devel] [PATCHv2] Fix win32 building with C99 mode

2016-09-18 Thread Selva Nair
Hi, On Sun, Sep 18, 2016 at 8:14 AM, Gert Doering wrote: > In -std=c99 mode, WIN32 is not defined to be "1" anymore, but just > "#define WIN32" - so the "#if WIN32" breaks, needs to be "#ifdef WIN32" > > v2: also fix block_dns.c (include config.h + compat.h) (Selva Nair) > > Signed-off-by: Gert

[Openvpn-devel] [PATCHv2] Fix win32 building with C99 mode

2016-09-18 Thread Gert Doering
In -std=c99 mode, WIN32 is not defined to be "1" anymore, but just "#define WIN32" - so the "#if WIN32" breaks, needs to be "#ifdef WIN32" v2: also fix block_dns.c (include config.h + compat.h) (Selva Nair) Signed-off-by: Gert Doering --- src/openvpn/block_dns.c | 11 +++ src/openv