From f6d0227369f9fb11c900dfdecf611e94dd07bd34 Mon Sep 17 00:00:00 2001 From: Ruslan Mustakov Date: Wed, 30 Nov 2016 15:50:54 +0700 Subject: [PATCH] Fixed headers for urandom on Windows --- src/urandom.nim | 4 ++-- uuids.nimble | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/urandom.nim b/src/urandom.nim index 25dcf9f..816f7ca 100644 --- a/src/urandom.nim +++ b/src/urandom.nim @@ -5,8 +5,8 @@ when defined(windows): type ULONG_PTR = int type HCRYPTPROV = ULONG_PTR - var PROV_RSA_FULL {.importc, header: "".}: DWORD - var CRYPT_VERIFYCONTEXT {.importc, header: "".}: DWORD + var PROV_RSA_FULL {.importc, header: "".}: DWORD + var CRYPT_VERIFYCONTEXT {.importc, header: "".}: DWORD {.push, stdcall, dynlib: "Advapi32.dll".} diff --git a/uuids.nimble b/uuids.nimble index 2606324..5dc5424 100644 --- a/uuids.nimble +++ b/uuids.nimble @@ -1,6 +1,6 @@ [Package] name: "uuids" -version: "0.1.2" +version: "0.1.3" author: "Xored Software, Inc." description: "UUID library" license: "MIT"