Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions windows/hid.c
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,11 @@
extern "C" {
#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)

#undef WIN32_LEAN_AND_MEAN
#endif

#include "hidapi_winapi.h"

#include <windows.h>
Expand Down
Loading