summaryrefslogtreecommitdiff
path: root/tests
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-22 22:55:55 -0700
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-06-22 22:55:55 -0700
commit1e5ff28a1234759c083e5ccda322ecd7883e9e69 (patch)
tree126e5c3db15ec8676623c4fc694768159bbfc7a1 /tests
parent0fff224d7287de8f52927179423fc499fcf2fbc1 (diff)
Diffstat (limited to 'tests')
-rw-r--r--tests/test_short_wchar.cpp6
1 files changed, 5 insertions, 1 deletions
diff --git a/tests/test_short_wchar.cpp b/tests/test_short_wchar.cpp
index 2892495..7f9c9c9 100644
--- a/tests/test_short_wchar.cpp
+++ b/tests/test_short_wchar.cpp
@@ -1,7 +1,11 @@
#if defined(__GNUC__) && __WCHAR_MAX__ == 0xffff
-#define PUGIXML_HEADER_ONLY
+#undef PUGIXML_WCHAR_MODE
#define PUGIXML_WCHAR_MODE
+
+#undef PUGIXML_NO_STL
#define PUGIXML_NO_STL
+
+#define PUGIXML_HEADER_ONLY
#define pugi pugisw
#include "test.hpp"