From: Nikos Mavrogiannopoulos Date: Sat, 21 Dec 2013 10:27:39 +0000 (+0100) Subject: do not use the gnulib wrappers in win32 X-Git-Tag: gnutls_3_3_0pre0~415 X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=28afc86b68c283f415cef7bb13f437cf4725a0bf;p=thirdparty%2Fgnutls.git do not use the gnulib wrappers in win32 --- diff --git a/lib/system.c b/lib/system.c index a5a860f464..42ccd1f156 100644 --- a/lib/system.c +++ b/lib/system.c @@ -59,6 +59,12 @@ static HMODULE Crypt32_dll; */ #ifdef _WIN32 +/* Do not use the gnulib functions for sending and receiving data. + * Using them makes gnutls only working with gnulib applications. + */ +#undef send +#undef recv + int system_errno(gnutls_transport_ptr p) { int tmperr = WSAGetLastError();