sample: Apply SPARC-specific condition on SPARC only

Improves correctness, unbreaks software volume in recent Android.
This commit is contained in:
Arun Raghavan 2013-07-30 14:51:59 +05:30
parent 328ef1d35a
commit 55e169655d

View file

@ -120,7 +120,7 @@ PA_C_DECL_BEGIN
#endif #endif
/* On Sparc, WORDS_BIGENDIAN needs to be set if _BIG_ENDIAN is defined. */ /* On Sparc, WORDS_BIGENDIAN needs to be set if _BIG_ENDIAN is defined. */
#ifdef _BIG_ENDIAN #if defined(__sparc__) && defined(_BIG_ENDIAN)
#define WORDS_BIGENDIAN #define WORDS_BIGENDIAN
#endif #endif