Fix compilation issue on Cygwin64
parent
9425e16437
commit
f66da32db0
2
osrng.h
2
osrng.h
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in New Issue