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:
Matthieu Gautier 2017-01-17 10:20:59 +01:00
parent d9798414c3
commit 753a39beb0
2 changed files with 2 additions and 2 deletions

View File

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

View File

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