mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 160030: check for __sparc and __i386, which is defined by the Solaris
compilers and gcc in strict ANSI conformance mode. sparc and i386 are not defined by the compilers in strict ANSI conformance mode. Modified Files: _solaris32.cfg _solaris64.cfg
This commit is contained in:
parent
9ad80e5225
commit
1570741b5a
@ -43,12 +43,12 @@
|
||||
#define SOLARIS
|
||||
#endif
|
||||
|
||||
#ifdef sparc
|
||||
#if defined(sparc) || defined(__sparc)
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
#define IS_BIG_ENDIAN 1
|
||||
#define PR_ALIGN_OF_INT64 8
|
||||
#define PR_ALIGN_OF_DOUBLE 8
|
||||
#elif defined(i386)
|
||||
#elif defined(i386) || defined(__i386)
|
||||
#define IS_LITTLE_ENDIAN 1
|
||||
#undef IS_BIG_ENDIAN
|
||||
#define PR_ALIGN_OF_INT64 4
|
||||
|
@ -43,12 +43,12 @@
|
||||
#define SOLARIS
|
||||
#endif
|
||||
|
||||
#ifdef sparc
|
||||
#if defined(sparc) || defined(__sparc)
|
||||
#undef IS_LITTLE_ENDIAN
|
||||
#define IS_BIG_ENDIAN 1
|
||||
#define PR_ALIGN_OF_INT64 8
|
||||
#define PR_ALIGN_OF_DOUBLE 8
|
||||
#elif defined(i386)
|
||||
#elif defined(i386) || defined(__i386)
|
||||
#define IS_LITTLE_ENDIAN 1
|
||||
#undef IS_BIG_ENDIAN
|
||||
#define PR_ALIGN_OF_INT64 4
|
||||
|
Loading…
x
Reference in New Issue
Block a user