summaryrefslogtreecommitdiff
path: root/tests/allocator.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'tests/allocator.cpp')
-rw-r--r--tests/allocator.cpp4
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/allocator.cpp b/tests/allocator.cpp
index fcd8f2d..6b0dd64 100644
--- a/tests/allocator.cpp
+++ b/tests/allocator.cpp
@@ -9,6 +9,10 @@
# pragma cpp_extensions on // enable some extensions to include windows.h
# endif
+# if defined(_MSC_VER)
+# pragma warning(disable: 4201) // nonstandard extension used: nameless struct/union
+# endif
+
# ifdef _XBOX_VER
# define NOD3D
# include <xtl.h>