Skip to content

Fix the Windows build - #1

Merged
yogthos merged 3 commits into
mainfrom
fix-windows-build
Nov 18, 2026
Merged

yogthos merged 3 commits into
mainfrom
fix-windows-build

Conversation

@yogthos

@yogthos yogthos commented Nov 18, 2026

Copy link
Copy Markdown
Member

windows.h pulls in COM's #define interface struct, which breaks lexbor's parameters named interface under MSYS2 gcc. The shim now includes windows.h with WIN32_LEAN_AND_MEAN first and undefs the macro, so lexbor's own include is a no-op.

windows.h defines interface as struct, which breaks lexbor parameters named
interface. Include it lean first and undef the macro.
jolt build links -llz4 when the binary carries a static native archive.
@yogthos
yogthos merged commit 820bb39 into main Nov 18, 2026
6 checks passed
@yogthos
yogthos deleted the fix-windows-build branch November 18, 2026 18:49
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