summaryrefslogtreecommitdiff
path: root/tests/allocator.cpp
diff options
context:
space:
mode:
authorarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-02-19 09:05:23 +0000
committerarseny.kapoulkine@gmail.com <arseny.kapoulkine@gmail.com@99668b35-9821-0410-8761-19e4c4f06640>2012-02-19 09:05:23 +0000
commit9133322c4c39141a80f79f24755566128bb98c13 (patch)
tree79724d4f39d40013cb598f09ba64f2a897893cc7 /tests/allocator.cpp
parentbe7bdafa4504b0d54e7defbbf1d89c4fe7a935d4 (diff)
tests: Minor fixes for WinCE compilation
git-svn-id: http://pugixml.googlecode.com/svn/trunk@834 99668b35-9821-0410-8761-19e4c4f06640
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>