Skip to content

Commit

Permalink
Merge pull request #150 from ams-cs/master
Browse files Browse the repository at this point in the history
Fix build using MinGW.
  • Loading branch information
hawicz committed Sep 14, 2014
2 parents f88db70 + ca0ebe0 commit 2c72227
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions random_seed.c
Original file line number Diff line number Diff line change
Expand Up @@ -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()
{
Expand Down

0 comments on commit 2c72227

Please sign in to comment.