secur32: Fixed compilation on with gnutls.

Jacek Caban jacek at codeweavers.com
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
version.

---
 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: <http://www.winehq.org/pipermail/wine-patches/attachments/20150617/8dea45ca/attachment.bin>


More information about the wine-patches mailing list