On 03/10/18 18:31, Selva Nair wrote: > > But ... are you saying Windows C compilers we use/support does not support > stdbool.h? Even with -std=c99? > > > It does, but we cannot avoid using the Windows-specific BOOL (which I > believe is a typedef to int pulled in through windows.h) as Windows API is > replete with it. In fact stdbool's bool may be internally an int and thus same > as BOOL but we can't assume that.
Fair point, and I was not aware of this detail. In this case I have no issues with keeping BOOL when it is tied to Windows APIs expecting BOOL. -- kind regards, David Sommerseth OpenVPN Inc
signature.asc
Description: OpenPGP digital signature
_______________________________________________ Openvpn-devel mailing list Openvpn-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/openvpn-devel