emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 025e216: Define gnutls_rnd for WINDOWSNT and HAVE_G


From: Martin Rudalics
Subject: [Emacs-diffs] master 025e216: Define gnutls_rnd for WINDOWSNT and HAVE_GNUTLS3 case only
Date: Fri, 15 Sep 2017 03:49:54 -0400 (EDT)

branch: master
commit 025e216566312b562bc1b3379e00e97ae539ea5f
Author: Martin Rudalics <address@hidden>
Commit: Martin Rudalics <address@hidden>

    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 13d2359..4524ff9 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -37,7 +37,7 @@ along with GNU Emacs.  If not, see 
<https://www.gnu.org/licenses/>.  */
 #include "puresize.h"
 #include "gnutls.h"
 
-#ifdef WINDOWSNT
+#if defined WINDOWSNT && defined HAVE_GNUTLS3
 # define gnutls_rnd w32_gnutls_rnd
 #endif
 



reply via email to

[Prev in Thread] Current Thread [Next in Thread]