Fix compilation under Cygwin (and make sure it still works on Linux).
parent
82fc3cd557
commit
6292bc5d8f
|
@ -29,8 +29,6 @@
|
|||
|
||||
#include "decrypt.h"
|
||||
|
||||
#include "types.h"
|
||||
|
||||
#ifdef __CYGWIN__
|
||||
//#define USE_CRYPTOAPI_RSA 1
|
||||
#define _WIN32_WINNT 0x501
|
||||
|
@ -84,6 +82,9 @@ static HMODULE hCrypt32 = INVALID_HANDLE_VALUE;
|
|||
|
||||
#endif /* defined(__CYGWIN__) */
|
||||
|
||||
/* This must be after windows.h include. */
|
||||
#include "types.h"
|
||||
|
||||
typedef struct {
|
||||
#ifdef __CYGWIN__
|
||||
HCERTSTORE hSystemStore;
|
||||
|
|
Loading…
Reference in New Issue