diff options
| author | Martin Rudalics | 2017-09-15 09:48:54 +0200 |
|---|---|---|
| committer | Martin Rudalics | 2017-09-15 09:48:54 +0200 |
| commit | 025e216566312b562bc1b3379e00e97ae539ea5f (patch) | |
| tree | a3e43161ffae4c596d804e2539cc65c4a20225fb /src | |
| parent | 0ce6b4310d3bcb0f9c97c1c4bd0838d1628eae15 (diff) | |
| download | emacs-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.c | 2 |
1 files changed, 1 insertions, 1 deletions
| @@ -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 | ||