mirror of https://github.com/hashcat/hashcat.git
Browse Source
This breaks compiling windows binaries if the underlaying filesystem is not case sensitive. An example would be using /mnt/c folder under WSL. Any update on the LZMA SDK needs to be post processed with this command: sed -i 's/<Windows.h>/<windows.h>/' deps/LZMA-SDK/C/*.c deps/LZMA-SDK/C/*.hpull/2854/head

6 changed files with 6 additions and 26 deletions
@ -1,15 +0,0 @@
|
||||
/**
|
||||
* Author......: See docs/credits.txt |
||||
* License.....: MIT |
||||
*/ |
||||
|
||||
#ifndef _WINDOWS_H |
||||
#define _WINDOWS_H |
||||
|
||||
// This is a workaround for files asking to include Windows.h instead of windows.h
|
||||
// The problem is that MinGW provides only windows.h
|
||||
// LZMA SDK will fail to cross compile for Windows on Linux
|
||||
|
||||
#include <windows.h> |
||||
|
||||
#endif // _WINDOWS_H
|
Loading…
Reference in new issue