From 025e216566312b562bc1b3379e00e97ae539ea5f Mon Sep 17 00:00:00 2001 From: Martin Rudalics Date: Fri, 15 Sep 2017 09:48:54 +0200 Subject: [PATCH] Define gnutls_rnd for WINDOWSNT and HAVE_GNUTLS3 case only * src/fns.c (gnutls_rnd): Define for WINDOWSNT and HAVE_GNUTLS3 case only to avoid unused macros warning otherwise. --- src/fns.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/fns.c b/src/fns.c index 13d235965e2..4524ff9b268 100644 --- a/src/fns.c +++ b/src/fns.c @@ -37,7 +37,7 @@ along with GNU Emacs. If not, see . */ #include "puresize.h" #include "gnutls.h" -#ifdef WINDOWSNT +#if defined WINDOWSNT && defined HAVE_GNUTLS3 # define gnutls_rnd w32_gnutls_rnd #endif -- 2.39.5