Skip to content

Undefine hl.h's _GUID to fix a Windows build error#39

Open
ThatCreeper wants to merge 1 commit intonspitko:masterfrom
ThatCreeper:guid-issue
Open

Undefine hl.h's _GUID to fix a Windows build error#39
ThatCreeper wants to merge 1 commit intonspitko:masterfrom
ThatCreeper:guid-issue

Conversation

@ThatCreeper
Copy link

hl.h defining _GUID as "g" caused a bunch of build errors on my side. This change appears to fully fix that.

@nspitko
Copy link
Owner

nspitko commented Mar 8, 2026

This seems new, can you give a bit more info on what error you're seeing? Trying to figure out if this is an upstream problem with hl.h or something that's new in windows.

We don't currently use GUIDs, but these are core type defines necessary to do hashlink plumbing, I'd like to avoid undefing any of them unless we have an unavoidable need to.

edit:
Upon further inspection, this is already being tracked on HL's side ( HaxeFoundation/hashlink#807 ) and should be solved with HaxeFoundation/hashlink#859

Once that PR comes through we can switch to the new defines.

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