summaryrefslogtreecommitdiffstats
path: root/xpcom
diff options
context:
space:
mode:
authorBrian Smith <brian@dbsoft.org>2020-11-23 08:18:34 -0600
committerMoonchild <moonchild@palemoon.org>2020-12-02 07:20:45 +0000
commita7a521e378c0528c1c36456c30069d34e204965f (patch)
tree6f9b9dda2631094d6ea92b18f31b9f87decc3280 /xpcom
parente9b56e301c6d5d13d3608089e418283cfc832759 (diff)
downloadUXP-a7a521e378c0528c1c36456c30069d34e204965f.tar
UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.gz
UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.lz
UXP-a7a521e378c0528c1c36456c30069d34e204965f.tar.xz
UXP-a7a521e378c0528c1c36456c30069d34e204965f.zip
Issue #1690 - Part 1: Fix MacOS version detection above 10.15.
Changes based on Mozilla bug 1616404 but supporting back to 10.7.
Diffstat (limited to 'xpcom')
-rw-r--r--xpcom/components/ManifestParser.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/xpcom/components/ManifestParser.cpp b/xpcom/components/ManifestParser.cpp
index b69a204ba..0427303d5 100644
--- a/xpcom/components/ManifestParser.cpp
+++ b/xpcom/components/ManifestParser.cpp
@@ -541,8 +541,8 @@ ParseManifest(NSLocationType aType, FileLocation& aFile, char* aBuf,
}
#pragma warning(pop)
#elif defined(MOZ_WIDGET_COCOA)
- SInt32 majorVersion = nsCocoaFeatures::OSXVersionMajor();
- SInt32 minorVersion = nsCocoaFeatures::OSXVersionMinor();
+ SInt32 majorVersion = nsCocoaFeatures::macOSVersionMajor();
+ SInt32 minorVersion = nsCocoaFeatures::macOSVersionMinor();
nsTextFormatter::ssprintf(osVersion, u"%ld.%ld",
majorVersion,
minorVersion);