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:
wtc%netscape.com 2002-08-15 22:25:42 +00:00
Родитель 5b1af7311f
Коммит 64b9fb5048
1 изменённых файлов: 6 добавлений и 0 удалений

Просмотреть файл

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