From: Martin Rudalics Date: Fri, 15 Sep 2017 07:48:54 +0000 (+0200) Subject: Define gnutls_rnd for WINDOWSNT and HAVE_GNUTLS3 case only X-Git-Tag: emacs-26.0.90~173^2~8 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=025e216566312b562bc1b3379e00e97ae539ea5f;p=emacs.git 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. --- 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