Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Include windows.h (lowercase) to fix cross-compiled MinGW builds #75

Merged

Conversation

salman-javed-nz
Copy link
Contributor

When cross-compiling from a host that treats file paths as case-sensitive (e.g. Linux) to target Windows using MinGW, the build fails when looking for Windows.h.

The solution is to #include this header as windows.h (lowercase).

When cross-compiling from a host that treats file paths as
case-sensitive (e.g. Linux) to target Windows using MinGW, the build
fails when looking for `Windows.h`.

The solution is to #include this header as `windows.h` (lowercase).
@martinmoene martinmoene merged commit d92253b into martinmoene:master Dec 28, 2023
9 checks passed
@salman-javed-nz salman-javed-nz deleted the improvement/windows-h-case branch August 4, 2024 02:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants