mirror of
https://github.com/CookiePLMonster/SilentPatch.git
synced 2025-01-04 10:13:02 +05:00
Use lowercase names for Windows headers
This fixes missing header issues on a case-sensitive filesystem with MinGW GCC
This commit is contained in:
parent
539d923a6c
commit
4966142826
6 changed files with 13 additions and 13 deletions
|
@ -4,8 +4,8 @@
|
|||
|
||||
#include <windows.h>
|
||||
#include <stdio.h>
|
||||
#include <Shlwapi.h>
|
||||
#include <ShlObj.h>
|
||||
#include <shlwapi.h>
|
||||
#include <shlobj.h>
|
||||
#include "Utils/MemoryMgr.h"
|
||||
#include "Utils/Patterns.h"
|
||||
#include "Utils/ScopedUnprotect.hpp"
|
||||
|
@ -230,4 +230,4 @@ extern "C" __declspec(dllexport)
|
|||
uint32_t GetBuildNumber()
|
||||
{
|
||||
return (SILENTPATCH_REVISION_ID << 8) | SILENTPATCH_BUILD_ID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,8 +8,8 @@
|
|||
|
||||
#include <windows.h>
|
||||
|
||||
#include <Shlwapi.h>
|
||||
#include <ShlObj.h>
|
||||
#include <shlwapi.h>
|
||||
#include <shlobj.h>
|
||||
#include "Utils/MemoryMgr.h"
|
||||
#include "Utils/Patterns.h"
|
||||
|
||||
|
@ -249,4 +249,4 @@ namespace Common {
|
|||
TXN_CATCH();
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#define NOMINMAX
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
static std::string WcharToUTF8(std::wstring_view str)
|
||||
{
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
#include "TheFLAUtils.h"
|
||||
|
||||
#define WIN32_LEAN_AND_MEAN
|
||||
#include <Windows.h>
|
||||
#include <windows.h>
|
||||
|
||||
#include "Utils/ModuleList.hpp"
|
||||
|
||||
|
@ -39,4 +39,4 @@ bool FLAUtils::UsesEnhancedIMGs()
|
|||
const auto func = reinterpret_cast<bool(*)()>(GetProcAddress( flaModule, "IsHandlingOfEnhancedIMGarchivesEnabled" ));
|
||||
if ( func == nullptr ) return false;
|
||||
return func();
|
||||
}
|
||||
}
|
||||
|
|
|
@ -12,7 +12,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <Shlwapi.h>
|
||||
#include <shlwapi.h>
|
||||
|
||||
#include "Utils/ModuleList.hpp"
|
||||
#include "Utils/Patterns.h"
|
||||
|
@ -2499,4 +2499,4 @@ extern "C" __declspec(dllexport)
|
|||
uint32_t GetBuildNumber()
|
||||
{
|
||||
return (SILENTPATCH_REVISION_ID << 8) | SILENTPATCH_BUILD_ID;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -16,7 +16,7 @@
|
|||
|
||||
#include <array>
|
||||
#include <memory>
|
||||
#include <Shlwapi.h>
|
||||
#include <shlwapi.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "Utils/ModuleList.hpp"
|
||||
|
@ -2982,4 +2982,4 @@ extern "C" __declspec(dllexport)
|
|||
uint32_t GetBuildNumber()
|
||||
{
|
||||
return (SILENTPATCH_REVISION_ID << 8) | SILENTPATCH_BUILD_ID;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue