Removed LZMA "Windows.h" capitalized file name workaround used to cross compile Windows binaries from Linux hosts.

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/*.h
This commit is contained in:
Jens Steube
2021-06-25 20:30:26 +02:00
parent 5194beb6f2
commit b30d55c5d9
6 changed files with 6 additions and 26 deletions
-15
View File
@@ -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