SIEdit
SIEdit copied to clipboard
Fix building of libweaver under MSYS2
NOMINMAX is actually defined in MSYS2's headers, so I added #IFNDEF to guard defining NOMINMAX if it was already defined.
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()?
In #38 I addressed NOMINMAX from cmake.