parent
2c7123cda3
commit
e53b4d1aa2
@ -1,15 +0,0 @@
|
|||||||
This file is part of MXE. See LICENSE.md for licensing information.
|
|
||||||
|
|
||||||
see http://lists.fedoraproject.org/pipermail/mingw/2009-May/001567.html
|
|
||||||
|
|
||||||
--- a/configure.ac 2014-04-11 03:47:07.000000000 +0200
|
|
||||||
+++ b/configure.ac 2014-10-12 19:44:52.809838565 +0200
|
|
||||||
@@ -40,8 +40,6 @@
|
|
||||||
# Checks for library functions.
|
|
||||||
AC_FUNC_VPRINTF
|
|
||||||
AC_FUNC_MEMCMP
|
|
||||||
-AC_FUNC_MALLOC
|
|
||||||
-AC_FUNC_REALLOC
|
|
||||||
AC_CHECK_FUNCS(strcasecmp strdup strerror snprintf vsnprintf vasprintf open vsyslog strncasecmp setlocale)
|
|
||||||
AC_CHECK_DECLS([INFINITY], [], [], [[#include <math.h>]])
|
|
||||||
AC_CHECK_DECLS([nan], [], [], [[#include <math.h>]])
|
|
@ -1,20 +0,0 @@
|
|||||||
This file is part of MXE. See LICENSE.md for licensing information.
|
|
||||||
|
|
||||||
mingw32 doesn't include wincrypt.h in windows.h, so the build fails.
|
|
||||||
|
|
||||||
This is basically
|
|
||||||
https://github.com/ams-cs/json-c/commit/ca0ebe0f71b806f73a20d5d5e0da78aba5de42be
|
|
||||||
|
|
||||||
--- a/random_seed.c 2014-04-11 02:41:08.000000000 +0200
|
|
||||||
+++ b/random_seed.c 2014-10-12 20:07:32.419043270 +0200
|
|
||||||
@@ -181,7 +181,10 @@
|
|
||||||
#define HAVE_CRYPTGENRANDOM 1
|
|
||||||
|
|
||||||
#include <windows.h>
|
|
||||||
+#include <wincrypt.h>
|
|
||||||
+#ifndef __GNUC__
|
|
||||||
#pragma comment(lib, "advapi32.lib")
|
|
||||||
+#endif
|
|
||||||
|
|
||||||
static int get_cryptgenrandom_seed()
|
|
||||||
{
|
|
Loading…
Reference in new issue