Problem: MinGW cross compile is failed on Linux

Solution: Use only lower case for header file name.

We can find "wincrypt.h" by "WinCrypt.h" on Windows because Windows uses
case insensitive file system. But we can't find "wincrypt.h" by
"WinCrypt.h" on Linux Because Linux uses case sensitive file system.
This commit is contained in:
Kouhei Sutou 2016-09-15 00:03:18 +09:00
parent 3683a96fcb
commit da9b9540f3
2 changed files with 2 additions and 1 deletions

View File

@ -65,6 +65,7 @@ Joe Thornber
Jon Dyte
Kamil Shakirov
Ken Steele
Kouhei Sutou
Laurent Alebarde
Leonardo J. Consoni
Lourens Naudé

View File

@ -852,7 +852,7 @@ int crypto_sign_open(u8 *m,u64 *mlen,const u8 *sm,u64 n,const u8 *pk)
#ifdef ZMQ_HAVE_WINDOWS
#include <windows.h>
#include <WinCrypt.h>
#include <wincrypt.h>
#define NCP ((HCRYPTPROV) 0)