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:
wtc%netscape.com 2002-08-15 23:04:03 +00:00
parent 9ad80e5225
commit 1570741b5a
2 changed files with 4 additions and 4 deletions

View File

@ -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

View File

@ -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