2011-10-14 Jonathan Wakely <jwakely.gcc@gmail.com>
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2011 10:38:23 +0000 (10:38 +0000)
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>
Fri, 14 Oct 2011 10:38:23 +0000 (10:38 +0000)
* testsuite/22_locale/codecvt_byname/50714.cc: Fix mychar.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@179966 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/testsuite/22_locale/codecvt_byname/50714.cc

index 9ffb299..cfd41da 100644 (file)
@@ -1,3 +1,7 @@
+2011-10-14  Jonathan Wakely  <jwakely.gcc@gmail.com>
+
+       * testsuite/22_locale/codecvt_byname/50714.cc: Fix mychar.
+
 2011-10-14  Jonathan Yong  <jon_y@users.sourceforge.net>
 
        * configure.host: Use config/os/mingw32-w64 instead of
index 6c84be2..9bdc310 100644 (file)
@@ -18,8 +18,9 @@
 // <http://www.gnu.org/licenses/>.
 
 #include <locale>
+#include <ext/pod_char_traits.h>
 
-#define mychar unsigned short
+#define mychar __gnu_cxx::character<unsigned short, int>
 
 namespace std
 {