Add more big endian platforms
This patch adds more platforms to the list that have the BIGENDIAN defines set. Downstream users are using parts of SKIA on BigEndian machines. R=cmp@chromium.org, bungeman@google.com, bsalomon@google.com, reed@google.com, sergeyberezin@chromium.org Author: steve@ssinger.info Review URL: https://codereview.chromium.org/218733002 git-svn-id: http://skia.googlecode.com/svn/trunk@14046 2bbb7eff-a529-9590-31e7-b0007b416f81
This commit is contained in:
parent
c13fae6d49
commit
8ec45cede9
1
AUTHORS
1
AUTHORS
@ -20,5 +20,6 @@ Intel <*@intel.com>
|
||||
Jacek Caban <cjacek@gmail.com>
|
||||
NVIDIA <*@nvidia.com>
|
||||
Samsung <*@samsung.com>
|
||||
Steve Singer <steve@ssinger.info>
|
||||
The Chromium Authors <*@chromium.org>
|
||||
Thiago Fransosi Farina <thiago.farina@gmail.com>
|
||||
|
@ -92,9 +92,15 @@
|
||||
//////////////////////////////////////////////////////////////////////
|
||||
|
||||
#if !defined(SK_CPU_BENDIAN) && !defined(SK_CPU_LENDIAN)
|
||||
#if defined (__ppc__) || defined(__PPC__) || defined(__ppc64__) \
|
||||
|| defined(__PPC64__)
|
||||
#define SK_CPU_BENDIAN
|
||||
#if defined(__sparc) || defined(__sparc__) || \
|
||||
defined(_POWER) || defined(__powerpc__) || \
|
||||
defined(__ppc__) || defined(__hppa) || \
|
||||
defined(__PPC__) || defined(__PPC64__) || \
|
||||
defined(_MIPSEB) || defined(__ARMEB__) || \
|
||||
defined(__s390__) || \
|
||||
(defined(__sh__) && defined(__BIG_ENDIAN__)) || \
|
||||
(defined(__ia64) && defined(__BIG_ENDIAN__))
|
||||
#define SK_CPU_BENDIAN
|
||||
#else
|
||||
#define SK_CPU_LENDIAN
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user