Skip to content

Commit

Permalink
Suppress Visual C++ warning C4214: nonstandard extension used: bit fi…
Browse files Browse the repository at this point in the history
…eld types other than int (#602)
  • Loading branch information
slouken authored Jul 29, 2023
1 parent 4c93262 commit 98ab22a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion windows/hidapi_descriptor_reconstruct.h
Original file line number Diff line number Diff line change
Expand Up @@ -27,10 +27,11 @@

#include "hidapi_winapi.h"

#if _MSC_VER
#ifdef _MSC_VER
#pragma warning(push)
#pragma warning(disable: 4200)
#pragma warning(disable: 4201)
#pragma warning(disable: 4214)
#endif

#include <windows.h>
Expand Down

0 comments on commit 98ab22a

Please sign in to comment.