]> git.eshelyaron.com Git - emacs.git/commitdiff
Unbreak the MS-Windows build
authorEli Zaretskii <eliz@gnu.org>
Mon, 18 Jan 2016 15:42:57 +0000 (17:42 +0200)
committerEli Zaretskii <eliz@gnu.org>
Mon, 18 Jan 2016 15:42:57 +0000 (17:42 +0200)
* src/sysdep.c (emacs_gnutls_global_init, gnutls_rnd): Disable for
WINDOWSNT, to avoid link failure.  (Bug#22202)

src/sysdep.c

index 6b2b2053a2477f74ce34b6aef58bfa7edcb8fb18..d3e271b9dff30eb674d8ed28323b0e218973ee3b 100644 (file)
@@ -100,7 +100,7 @@ along with GNU Emacs.  If not, see <http://www.gnu.org/licenses/>.  */
 #include "cm.h"
 
 #include "gnutls.h"
-#if 0x020c00 <= GNUTLS_VERSION_NUMBER
+#if 0x020c00 <= GNUTLS_VERSION_NUMBER && !defined WINDOWSNT
 # include <gnutls/crypto.h>
 #else
 # define emacs_gnutls_global_init() Qnil