mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-01-27 07:34:20 +00:00
Bug 162930: fixed the bug that PR_GetSystemInfo always returns "sparc"
as PR_SI_ARCHITECTURE on Solaris, even though Solaris also runs on x86. Thanks to Sonja Mirtitsch <sonja.mirtitsch@sun.com> for the fix.
This commit is contained in:
parent
5b1af7311f
commit
64b9fb5048
@ -41,7 +41,13 @@
|
||||
|
||||
#define PR_LINKER_ARCH "solaris"
|
||||
#define _PR_SI_SYSNAME "SOLARIS"
|
||||
#ifdef sparc
|
||||
#define _PR_SI_ARCHITECTURE "sparc"
|
||||
#elif defined(i386)
|
||||
#define _PR_SI_ARCHITECTURE "x86"
|
||||
#else
|
||||
#error unknown processor
|
||||
#endif
|
||||
#define PR_DLL_SUFFIX ".so"
|
||||
|
||||
#define _PR_VMBASE 0x30000000
|
||||
|
Loading…
x
Reference in New Issue
Block a user