Fix compilation issue on Cygwin64

pull/2/head
Alex Afanasyev 2014-12-15 13:52:13 -08:00 committed by Alexander Afanasyev
parent 9425e16437
commit f66da32db0
1 changed files with 2 additions and 0 deletions

View File

@ -32,6 +32,8 @@ public:
~MicrosoftCryptoProvider();
#if defined(_WIN64)
typedef unsigned __int64 ProviderHandle; // type HCRYPTPROV, avoid #include <windows.h>
#elif defined(__CYGWIN__) && defined(__x86_64__)
typedef unsigned long long ProviderHandle;
#else
typedef unsigned long ProviderHandle;
#endif