Skip to content

Commit 98ab22a

Browse files
authored
Suppress Visual C++ warning C4214: nonstandard extension used: bit field types other than int (#602)
1 parent 4c93262 commit 98ab22a

1 file changed

Lines changed: 2 additions & 1 deletion

File tree

windows/hidapi_descriptor_reconstruct.h

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -27,10 +27,11 @@
2727

2828
#include "hidapi_winapi.h"
2929

30-
#if _MSC_VER
30+
#ifdef _MSC_VER
3131
#pragma warning(push)
3232
#pragma warning(disable: 4200)
3333
#pragma warning(disable: 4201)
34+
#pragma warning(disable: 4214)
3435
#endif
3536

3637
#include <windows.h>

0 commit comments

Comments
 (0)