зеркало из https://github.com/mozilla/pjs.git
Added checks for Linux Alpha & Linux Sparc. Thanks to Steve Willis <steve@redhat.com> for providing the fix.
This commit is contained in:
Родитель
92525e7efb
Коммит
1b12571414
|
@ -353,6 +353,12 @@
|
|||
#elif __i386__
|
||||
#define IS_LITTLE_ENDIAN 1
|
||||
#undef IS_BIG_ENDIAN
|
||||
#elif __alpha__
|
||||
#define IS_BIG_ENDIAN 1
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
#elif __sparc__
|
||||
#define IS_BIG_ENDIAN 1
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
#else
|
||||
#error "linux cpu architecture not supported by jscpucfg.h"
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче