This website works better with JavaScript.
Home
Issues
Pull Requests
Milestones
AI流水线
Repositories
Datasets
Forum
实训
竞赛
大数据
Register
Sign In
jdk-build-libs
/
json-c
Not watched
Unwatch
Watch all
Watch but not notify
1
Star
0
Fork
0
Code
Releases
11
Wiki
evaluate
Activity
Issues
0
Pull Requests
0
Datasets
Model
Cloudbrain
HPC
Browse Source
Fix build using MinGW.
MinGW requires wincrypt.h. GCC does not support #pragma comment, which trips Werror.
tags/json-c-0.13-20171207
Andrew Stubbs
11 years ago
parent
d4e81f9ec8
commit
ca0ebe0f71
1 changed files
with
3 additions
and
0 deletions
Split View
Diff Options
Show Stats
Download Patch File
Download Diff File
+3
-0
random_seed.c
+ 3
- 0
random_seed.c
View File
@@ -181,7 +181,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()
{
Write
Preview
Loading…
Cancel
Save