Merge pull request #150 from ams-cs/master

Fix build using MinGW.
This commit is contained in:
Eric Haszlakiewicz
2014-09-13 22:17:57 -04:00

View File

@@ -178,7 +178,10 @@ static int get_dev_random_seed()
#define HAVE_CRYPTGENRANDOM 1
#include <windows.h>
#include <wincrypt.h>
#ifndef __GNUC__
#pragma comment(lib, "advapi32.lib")
#endif
static int get_cryptgenrandom_seed()
{