secur32: Fixed compilation on with gnutls.

Jacek Caban jacek at
Wed Jun 17 04:48:40 CDT 2015

Missing values are in enum, so there is no easy way to detect them by
#ifdef. Also having configure check for each of them seems overkill.
According to my research, one of them was introduced in version 2.11.7
(the latest 2.x release was 2.12, so only a few 2.x versions have it),
another was only in version numbered 2.99 (which AFAIU is 3.x
development). Since the define won't conflict even if they are present
in the header, I decided to simplify the check to only consider major

 dlls/secur32/schannel_gnutls.c | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-secur32-Fixed-compilation-on-with-gnutls.diff
Type: text/x-patch
Size: 580 bytes
Desc: not available
URL: <>

More information about the wine-patches mailing list