From 42c9ab52b417831d79321d55b21c8c63bb6c3cd1 Mon Sep 17 00:00:00 2001 From: Pale Moon Date: Fri, 19 Jan 2018 11:22:51 +0100 Subject: [PATCH] Add check for Windows 8.1 version We'll probably need this at some point for issues not found in Win 8 but present in 8.1 --- mfbt/WindowsVersion.h | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mfbt/WindowsVersion.h b/mfbt/WindowsVersion.h index 72eda2c48d..4156f4f64b 100644 --- a/mfbt/WindowsVersion.h +++ b/mfbt/WindowsVersion.h @@ -171,6 +171,12 @@ IsWin8OrLater() return IsWindowsVersionOrLater(0x06020000ul); } +MOZ_ALWAYS_INLINE bool +IsWin8Point1OrLater() +{ + return IsWindowsVersionOrLater(0x06030000ul); +} + MOZ_ALWAYS_INLINE bool IsWin10OrLater() {