]> git.saurik.com Git - wxWidgets.git/commitdiff
wchar_t byte-swapping is not necessary if __STDC_ISO_10646__ is defined.
authorOve Kaaven <ovek@arcticnet.no>
Thu, 29 Mar 2001 13:19:50 +0000 (13:19 +0000)
committerOve Kaaven <ovek@arcticnet.no>
Thu, 29 Mar 2001 13:19:50 +0000 (13:19 +0000)
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775

src/common/strconv.cpp

index d85340b8775d7a6cab567d7166a3ab8700e2d08f..69f9a7a85a497ab12979ea12b967a0dd3574cee9 100644 (file)
@@ -55,7 +55,7 @@
 #include "wx/debug.h"
 #include "wx/strconv.h"
 
-#ifdef WORDS_BIGENDIAN
+#if defined(WORDS_BIGENDIAN) || defined(__STDC_ISO_10646__)
 #define BSWAP_UCS4(str, len)
 #define BSWAP_UCS2(str, len)
 #else