зеркало из https://github.com/mozilla/pjs.git
Bug 483118 - navigator.platform should return Win64 instead of Win32 or Windows NT. r+sr=peterv
This commit is contained in:
Родитель
14063fc0b4
Коммит
2c3a227b22
|
@ -9068,7 +9068,9 @@ nsNavigator::GetPlatform(nsAString& aPlatform)
|
|||
// sorry for the #if platform ugliness, but Communicator is
|
||||
// likewise hardcoded and we're seeking backward compatibility
|
||||
// here (bug 47080)
|
||||
#if defined(WIN32)
|
||||
#if defined(_WIN64)
|
||||
aPlatform.AssignLiteral("Win64");
|
||||
#elif defined(WIN32)
|
||||
aPlatform.AssignLiteral("Win32");
|
||||
#elif defined(XP_MACOSX) && defined(__ppc__)
|
||||
aPlatform.AssignLiteral("MacPPC");
|
||||
|
|
Загрузка…
Ссылка в новой задаче