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

Make cppfs cross-compilable from linux to Windows #28

Merged
merged 1 commit into from
Jul 9, 2019
Merged

Conversation

sbusch42
Copy link
Member

@sbusch42 sbusch42 commented Jul 9, 2019

This modification makes it possible to compile the library on a linux host for Windows via mingw. The mingw installation contains windows.h instead of Windows.h. When compiling on Windows, the case shouldn't matter, as Windows is case-insensitive.

@scheibel
Copy link
Member

scheibel commented Jul 9, 2019

I think this is quite an interesting solution.
Is http://mingw.org/wiki/LinuxCrossMinGW the use case?
Either way, I think this particular scenario this should get documented.

On a side note: this feels a bit like CSS hacking...

@sbusch42 sbusch42 merged commit 57b316d into master Jul 9, 2019
@sbusch42 sbusch42 deleted the mingw-cross branch July 9, 2019 19:39
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