From d43088ee78dca3fc64f9d419b184844eb72384da Mon Sep 17 00:00:00 2001 From: Ove Kaaven Date: Thu, 29 Mar 2001 13:19:50 +0000 Subject: [PATCH] wchar_t byte-swapping is not necessary if __STDC_ISO_10646__ is defined. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@9607 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- src/common/strconv.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/strconv.cpp b/src/common/strconv.cpp index d85340b877..69f9a7a85a 100644 --- a/src/common/strconv.cpp +++ b/src/common/strconv.cpp @@ -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