diff options
Diffstat (limited to 'Build/source/libs/teckit/SFconv/SFconv.cpp')
-rw-r--r-- | Build/source/libs/teckit/SFconv/SFconv.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Build/source/libs/teckit/SFconv/SFconv.cpp b/Build/source/libs/teckit/SFconv/SFconv.cpp index 81d0c42896b..5b263c87ecd 100644 --- a/Build/source/libs/teckit/SFconv/SFconv.cpp +++ b/Build/source/libs/teckit/SFconv/SFconv.cpp @@ -25,7 +25,12 @@ using namespace std; #ifndef platformUTF16 #ifdef __APPLE__ +#include <TargetConditionals.h> +#if TARGET_RT_BIG_ENDIAN #define platformUTF16 kForm_UTF16BE +#else +#define platformUTF16 kForm_UTF16LE +#endif #endif #endif |