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

Fix building of libweaver under MSYS2 #18

Open
wants to merge 2 commits into
base: master
Choose a base branch
from

Conversation

zulc22
Copy link

@zulc22 zulc22 commented Oct 30, 2024

NOMINMAX is actually defined in MSYS2's headers, so I added #IFNDEF to guard defining NOMINMAX if it was already defined.

@zulc22
Copy link
Author

zulc22 commented Oct 30, 2024

i found another issue with MSYS2. si::File doesn't properly get a handle for a binary file on MSYS2 (using UCRT64 GCC). it does a line-ending conversion. for some reason, SIEdit compiled via MSYS2 is able to extract files perfectly fine despite this. does SIEdit never use *Object->ExtractToFile()?

…-error that CMake won't let me ignore when I embed the library
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.

1 participant