From 5c20c67469e2be17a727bf6cfe3f5672bf50df83 Mon Sep 17 00:00:00 2001 From: "Marty E. Plummer" Date: Thu, 15 Mar 2018 03:44:43 -0500 Subject: [PATCH] window: change case of Dbt.h inclusion Windows should have no issue with this change, as it addresses files in a case-insensitve manner. Said header is installed in lowercase on mingw-w64, and won't build since commit 22f1b85515242c44d7e5a1be1e3960bdf6648b52 Signed-off-by: Marty E. Plummer --- src/SFML/Window/Win32/WindowImplWin32.cpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/SFML/Window/Win32/WindowImplWin32.cpp b/src/SFML/Window/Win32/WindowImplWin32.cpp index a084e093e..84ff58ff7 100755 --- a/src/SFML/Window/Win32/WindowImplWin32.cpp +++ b/src/SFML/Window/Win32/WindowImplWin32.cpp @@ -39,7 +39,10 @@ #include #include #include -#include +// dbt.h is lowercase here, as a cross-compile on linux with mingw-w64 +// expects lowercase, and a native compile on windows, whether via msvc +// or mingw-w64 addresses files in a case insensitive manner. +#include #include #include