mirror of https://github.com/kiwix/libkiwix.git
Fix header include for cross-compilation to Windows.
On unix, filenames are case sensitive and all include files are lowercase.
This commit is contained in:
parent
d9798414c3
commit
753a39beb0
|
@ -21,7 +21,7 @@
|
||||||
#define KIWIX_OTHERTOOLS_H
|
#define KIWIX_OTHERTOOLS_H
|
||||||
|
|
||||||
#ifdef _WIN32
|
#ifdef _WIN32
|
||||||
#include <Windows.h>
|
#include <windows.h>
|
||||||
#else
|
#else
|
||||||
#include <unistd.h>
|
#include <unistd.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
|
@ -24,7 +24,7 @@
|
||||||
#include <limits.h>
|
#include <limits.h>
|
||||||
#elif _WIN32
|
#elif _WIN32
|
||||||
#include <windows.h>
|
#include <windows.h>
|
||||||
#include "Shlwapi.h"
|
#include "shlwapi.h"
|
||||||
#include <direct.h>
|
#include <direct.h>
|
||||||
#define getcwd _getcwd // stupid MSFT "deprecation" warning
|
#define getcwd _getcwd // stupid MSFT "deprecation" warning
|
||||||
#endif
|
#endif
|
||||||
|
|
Loading…
Reference in New Issue