windows: Fix build on case sensitive filesystem

This commit is contained in:
Michal Suchanek 2025-05-10 23:38:58 +02:00 committed by Mark Roszko
parent fbf0d32391
commit ca54db2db4
8 changed files with 12 additions and 12 deletions

View File

@ -40,7 +40,7 @@
#include <wx/regex.h>
#ifdef _WIN32
#include <Windows.h>
#include <windows.h>
#endif

View File

@ -28,7 +28,7 @@
//#define CUPS_LIST_PRINTERS
#ifdef __WXMSW__
#include <Windows.h>
#include <windows.h>
#elif defined( CUPS_LIST_PRINTERS )
#include <cups/cups.h>
#endif

View File

@ -35,7 +35,7 @@ using std::min;
#ifdef __WXMSW__
#include <windows.h>
#include <ObjIdl.h>
#include <objidl.h>
#include <gdiplus.h>
#include <cairo-win32.h>
#include <wx/msw/enhmeta.h>

View File

@ -71,10 +71,10 @@ elseif( WIN32 )
)
set( PLATFORM_LIBS
"Shlwapi"
"shlwapi"
"winhttp"
"wintrust"
"Imm32"
"imm32"
)
elseif( UNIX )
list( APPEND PLATFORM_SRCS

View File

@ -27,7 +27,7 @@
#include <windows.h>
#include <strsafe.h>
#include <config.h>
#include <VersionHelpers.h>
#include <versionhelpers.h>
#include <iostream>
#include <cstdio>

View File

@ -27,7 +27,7 @@
#include <wx/app.h>
#include <wx/uri.h>
#include <Windows.h>
#include <windows.h>
#include <shellapi.h>
#include <shlwapi.h>
#if defined( __MINGW32__ )
@ -37,7 +37,7 @@
#endif
#include <winhttp.h>
#include <Softpub.h>
#include <softpub.h>
#include <wincrypt.h>
#include <wintrust.h>
@ -416,4 +416,4 @@ wxString KIPLATFORM::ENV::GetAppUserModelId()
// the other limitation is 127 characters but we arent trying to hit that limit yet
return modelId;
}
}

View File

@ -21,7 +21,7 @@
* 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA
*/
#include <Wbemidl.h>
#include <wbemidl.h>
#include <cstdio>
#define _WIN32_DCOM
#include <comdef.h>
@ -547,4 +547,4 @@ void SYSINFO::variantToString( const LPVARIANT aVar, std::string& aReturnString
}
}
} // namespace KIPLATFORM
} // namespace KIPLATFORM

View File

@ -32,7 +32,7 @@
#if _WIN32
/* windows */
#include <Windows.h>
#include <windows.h>
#include <errno.h>
#elif __APPLE__
#include <dlfcn.h>