diff options
author | Thomas Arnhold <thomas@arnhold.org> | 2013-03-21 19:10:02 +0100 |
---|---|---|
committer | Thomas Arnhold <thomas@arnhold.org> | 2013-03-21 19:12:15 +0100 |
commit | 51890613b7cdeddff9ad3360a91908ded28bc5f0 (patch) | |
tree | 6032073af7ac9efedb289ef632300d4a2e5a929c /vcl/source/glyphs | |
parent | ec8ada0221d26524806d469a08c0bcc0bd3a8796 (diff) |
vcl: use OSL_BIGENDIAN
Change-Id: Ifdf54d30cca94d0d65d78f94d5fac31edf8c6df2
Diffstat (limited to 'vcl/source/glyphs')
-rw-r--r-- | vcl/source/glyphs/graphite_features.cxx | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/vcl/source/glyphs/graphite_features.cxx b/vcl/source/glyphs/graphite_features.cxx index ca10807c9eb4..1bff1e40373e 100644 --- a/vcl/source/glyphs/graphite_features.cxx +++ b/vcl/source/glyphs/graphite_features.cxx @@ -24,6 +24,7 @@ #include <sal/types.h> +#include <osl/endian.h> #ifdef WNT #include <windows.h> @@ -88,7 +89,7 @@ GrFeatureParser::GrFeatureParser(const gr_face * pFace, const ::rtl::OString fea gr_uint32 nFaceLang = gr_face_lang_by_index(pFace, i); FeatId aSupportedLang; aSupportedLang.num = nFaceLang; -#ifdef __BIG_ENDIAN__ +#ifdef OSL_BIGENDIAN // here we only expect full 3 letter codes if (aLang.label[0] == aSupportedLang.label[0] && aLang.label[1] == aSupportedLang.label[1] && @@ -163,7 +164,7 @@ void GrFeatureParser::setLang(const gr_face * pFace, const rtl::OString & lang) FeatId aSupportedLang; aSupportedLang.num = nFaceLang; // here we only expect full 2 & 3 letter codes -#ifdef __BIG_ENDIAN__ +#ifdef OSL_BIGENDIAN if (aLang.label[0] == aSupportedLang.label[0] && aLang.label[1] == aSupportedLang.label[1] && aLang.label[2] == aSupportedLang.label[2] && |