summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"