aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorMartin Rudalics2017-09-15 09:48:54 +0200
committerMartin Rudalics2017-09-15 09:48:54 +0200
commit025e216566312b562bc1b3379e00e97ae539ea5f (patch)
treea3e43161ffae4c596d804e2539cc65c4a20225fb /src
parent0ce6b4310d3bcb0f9c97c1c4bd0838d1628eae15 (diff)
downloademacs-025e216566312b562bc1b3379e00e97ae539ea5f.tar.gz
emacs-025e216566312b562bc1b3379e00e97ae539ea5f.zip
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.
Diffstat (limited to 'src')
-rw-r--r--src/fns.c2
1 files changed, 1 insertions, 1 deletions
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 <https://www.gnu.org/licenses/>. */
37#include "puresize.h" 37#include "puresize.h"
38#include "gnutls.h" 38#include "gnutls.h"
39 39
40#ifdef WINDOWSNT 40#if defined WINDOWSNT && defined HAVE_GNUTLS3
41# define gnutls_rnd w32_gnutls_rnd 41# define gnutls_rnd w32_gnutls_rnd
42#endif 42#endif
43 43