From f66da32db07fcfce7913e4838547d0ed249d4f01 Mon Sep 17 00:00:00 2001 From: Alex Afanasyev Date: Mon, 15 Dec 2014 13:52:13 -0800 Subject: [PATCH] Fix compilation issue on Cygwin64 --- osrng.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/osrng.h b/osrng.h index ae07d057..c2dba274 100644 --- a/osrng.h +++ b/osrng.h @@ -32,6 +32,8 @@ public: ~MicrosoftCryptoProvider(); #if defined(_WIN64) typedef unsigned __int64 ProviderHandle; // type HCRYPTPROV, avoid #include +#elif defined(__CYGWIN__) && defined(__x86_64__) + typedef unsigned long long ProviderHandle; #else typedef unsigned long ProviderHandle; #endif