summaryrefslogtreecommitdiff
path: root/src/fns.c
diff options
context:
space:
mode:
authorEli Zaretskii <eliz@gnu.org>2020-06-28 18:26:20 +0300
committerEli Zaretskii <eliz@gnu.org>2020-06-28 18:26:20 +0300
commit162f375bac22786d95a253f03de0148be4fe3201 (patch)
tree8c0c21467f302e779cc6fb9de18fd4de27fc9d8c /src/fns.c
parente4028d15153a29966425d93be6374fae770d14a8 (diff)
downloademacs-162f375bac22786d95a253f03de0148be4fe3201.tar.gz
MS-Windows fixes as followup to import of Gnulib 'getrandom'
* nt/mingw-cfg.site (gl_cv_lib_assume_bcrypt): Set to "no" to disable linking against bcrypt.dll. (Bug#42095) * src/gnutls.c (gnutls_rnd) [WINDOWSNT]: Don't define a function pointer, and don't load it from GnuTLS DLL. (w32_gnutls_rnd) [WINDOWSNT]: Delete unused function. * src/fns.c (gnutls_rnd) [WINDOWSNT]: Don't redirect to w32_gnutls_rnd.
Diffstat (limited to 'src/fns.c')
-rw-r--r--src/fns.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/src/fns.c b/src/fns.c
index c1465f7fe3c..a95a4b6e678 100644
--- a/src/fns.c
+++ b/src/fns.c
@@ -39,10 +39,6 @@ along with GNU Emacs. If not, see <https://www.gnu.org/licenses/>. */
#include "puresize.h"
#include "gnutls.h"
-#if defined WINDOWSNT && defined HAVE_GNUTLS3
-# define gnutls_rnd w32_gnutls_rnd
-#endif
-
static void sort_vector_copy (Lisp_Object, ptrdiff_t,
Lisp_Object *restrict, Lisp_Object *restrict);
enum equal_kind { EQUAL_NO_QUIT, EQUAL_PLAIN, EQUAL_INCLUDING_PROPERTIES };