From da77bfd7928f47438063e5e2d7ffffdc40e0c7d2 Mon Sep 17 00:00:00 2001 From: sluicebox <22204938+sluicebox@users.noreply.github.com> Date: Fri, 11 Oct 2019 15:41:53 -0700 Subject: [PATCH] TTS: Use lowercase when including Windows headers Fixes building for mingw-w64 on case sensitive file systems --- backends/text-to-speech/windows/sphelper-scummvm.h | 2 +- backends/text-to-speech/windows/windows-text-to-speech.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/backends/text-to-speech/windows/sphelper-scummvm.h b/backends/text-to-speech/windows/sphelper-scummvm.h index 93b2bb52f1d..3fc7772d98b 100644 --- a/backends/text-to-speech/windows/sphelper-scummvm.h +++ b/backends/text-to-speech/windows/sphelper-scummvm.h @@ -47,7 +47,7 @@ #endif #ifndef SPError_h -#include +#include #endif #ifndef _INC_LIMITS diff --git a/backends/text-to-speech/windows/windows-text-to-speech.cpp b/backends/text-to-speech/windows/windows-text-to-speech.cpp index 3399e458262..0e794d7baa8 100644 --- a/backends/text-to-speech/windows/windows-text-to-speech.cpp +++ b/backends/text-to-speech/windows/windows-text-to-speech.cpp @@ -28,7 +28,7 @@ #if defined(USE_TTS) && defined(WIN32) #include #include -#include +#include // Mingw-w64 is missing symbols for two guids declared in sapi.h which are used // by sphelper-scummvm.h. Mingw32 doesn't include any sapi headers or libraries