dfranx / ImFileDialog

A file dialog library for Dear ImGui
MIT License
495 stars 57 forks source link

Lowercase Win32 include names for MinGW compatibility on case-sensitive systems #12

Closed piernov closed 2 years ago

piernov commented 2 years ago

MinGW toolchain uses lowercase names for all provided header files, unlike what can be found in some of Microsoft's documentation. On Windows it does not actually matter since it's (almost) always case-insensitive. However, when cross-compiling from Linux (or another operating/file systems which are usually case-sensitive) with MinGW, the compiler is not able to find the headers with capital letters, so lowercase names must be used instead.

dfranx commented 2 years ago

Thank you so much for the PR, merged!