mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-30 00:01:50 +00:00
No bug - OS/2 only - add #ifdef so OS/2 returns OS/2 for platform
This commit is contained in:
parent
5edb313cb6
commit
8e455da2c0
@ -5654,6 +5654,8 @@ NavigatorImpl::GetPlatform(nsAString& aPlatform)
|
||||
// XXX not sure what to do about Mac OS X on non-PPC, but since Comm 4.x
|
||||
// doesn't know about it this will actually be backward compatible
|
||||
aPlatform = NS_LITERAL_STRING("MacPPC");
|
||||
#elif defined(XP_OS2)
|
||||
aPlatform = NS_LITERAL_STRING("OS/2");
|
||||
#else
|
||||
// XXX Communicator uses compiled-in build-time string defines
|
||||
// to indicate the platform it was compiled *for*, not what it is
|
||||
|
Loading…
Reference in New Issue
Block a user