Fix compilation under Cygwin (and make sure it still works on Linux).

edge.strict_endians
antona 2005-07-18 20:47:48 +00:00
parent 82fc3cd557
commit 6292bc5d8f
1 changed files with 3 additions and 2 deletions

View File

@ -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;