summaryrefslogtreecommitdiff
path: root/msvc
diff options
context:
space:
mode:
authorChris Dickens <christopher.a.dickens@gmail.com>2020-03-09 23:06:17 -0700
committerChris Dickens <christopher.a.dickens@gmail.com>2020-03-09 23:06:17 -0700
commitf5c9f6794dc8afd8789e383bbcbf0eab087c55f2 (patch)
tree0908c2380ebc18968aebdb160c4ad10a02aa9965 /msvc
parent0b3a2ed92d45a78a13b5abce61d87d0d43ce09d8 (diff)
downloadlibusb-f5c9f6794dc8afd8789e383bbcbf0eab087c55f2.tar.gz
Windows: Fix some harmless build warnings
Signed-off-by: Chris Dickens <christopher.a.dickens@gmail.com>
Diffstat (limited to 'msvc')
-rw-r--r--msvc/config.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/msvc/config.h b/msvc/config.h
index 25eb6e2..2ca5fb2 100644
--- a/msvc/config.h
+++ b/msvc/config.h
@@ -19,6 +19,8 @@
#pragma warning(disable:4127)
/* Disable: warning C4200: nonstandard extension used : zero-sized array in struct/union */
#pragma warning(disable:4200)
+/* Disable: warning C4201: nonstandard extension used : nameless struct/union */
+#pragma warning(disable:4201)
/* Disable: warning C4324: structure was padded due to __declspec(align()) */
#pragma warning(disable:4324)
/* Disable: warning C4996: 'GetVersionExA': was declared deprecated */