Skip to content

Conversation

@k1-801
Copy link

@k1-801 k1-801 commented Dec 31, 2025

Fixes #766
This version is less complicated and just undefines the thing. The previous PR with a proper solution didn't work well with CI, trying a simpler solution.

#endif

#ifdef WIN32_LEAN_AND_MEAN
/* This define may be set by IDE/project and it breaks compilation */
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

add details in which cases compilatino is broken (apparently not always)

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.

MSVC build with hidapi in-source fails with errors related to WINAPI

2 participants