Fixed headers for urandom on Windows
This commit is contained in:
parent
c6783039ac
commit
f6d0227369
2 changed files with 3 additions and 3 deletions
|
|
@ -5,8 +5,8 @@ when defined(windows):
|
||||||
|
|
||||||
type ULONG_PTR = int
|
type ULONG_PTR = int
|
||||||
type HCRYPTPROV = ULONG_PTR
|
type HCRYPTPROV = ULONG_PTR
|
||||||
var PROV_RSA_FULL {.importc, header: "<windows.h>".}: DWORD
|
var PROV_RSA_FULL {.importc, header: "<wincrypt.h>".}: DWORD
|
||||||
var CRYPT_VERIFYCONTEXT {.importc, header: "<windows.h>".}: DWORD
|
var CRYPT_VERIFYCONTEXT {.importc, header: "<wincrypt.h>".}: DWORD
|
||||||
|
|
||||||
{.push, stdcall, dynlib: "Advapi32.dll".}
|
{.push, stdcall, dynlib: "Advapi32.dll".}
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -1,6 +1,6 @@
|
||||||
[Package]
|
[Package]
|
||||||
name: "uuids"
|
name: "uuids"
|
||||||
version: "0.1.2"
|
version: "0.1.3"
|
||||||
author: "Xored Software, Inc."
|
author: "Xored Software, Inc."
|
||||||
description: "UUID library"
|
description: "UUID library"
|
||||||
license: "MIT"
|
license: "MIT"
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue