зеркало из https://github.com/mozilla/gecko-dev.git
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:
Родитель
5b1af7311f
Коммит
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
|
||||
|
|
Загрузка…
Ссылка в новой задаче