X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/eefe52da50fcdda92521bb3a68a236fdc0e8ed8d..86ac84b8ce086e6bbda58f422d41f84268606e35:/include/wx/osx/core/cfstring.h?ds=sidebyside diff --git a/include/wx/osx/core/cfstring.h b/include/wx/osx/core/cfstring.h index 2cd04a9d76..30d4319493 100644 --- a/include/wx/osx/core/cfstring.h +++ b/include/wx/osx/core/cfstring.h @@ -19,6 +19,12 @@ #include "wx/fontenc.h" #include "wx/osx/core/cfref.h" +#ifdef WORDS_BIGENDIAN + #define kCFStringEncodingUTF32Native kCFStringEncodingUTF32BE +#else + #define kCFStringEncodingUTF32Native kCFStringEncodingUTF32LE +#endif + class WXDLLIMPEXP_FWD_BASE wxString; WXDLLIMPEXP_BASE void wxMacConvertNewlines13To10( wxString *data ) ;