#include "common/platform_helpers.h"
#include "common/debug.h"
#include <tuple>
#ifdef ANGLE_PLATFORM_WINDOWS
# include <windows.h>
#endif
namespace angle
{
namespace
{
constexpr VersionTriple kVersionWindowsXP = …;
constexpr VersionTriple kVersionWindowsVista = …;
constexpr VersionTriple kVersionWindows7 = …;
constexpr VersionTriple kVersionWindows8 = …;
constexpr VersionTriple kVersionWindows10 = …;
constexpr VersionTriple kVersionWindows11 = …;
bool IsWindowsVersionOrLater(VersionTriple greaterOrEqual)
{ … }
bool IsWindowsVersionInRange(VersionTriple greaterOrEqual, VersionTriple lessThan)
{ … }
}
bool operator==(const VersionTriple &a, const VersionTriple &b)
{ … }
bool operator!=(const VersionTriple &a, const VersionTriple &b)
{ … }
bool operator<(const VersionTriple &a, const VersionTriple &b)
{ … }
bool operator>=(const VersionTriple &a, const VersionTriple &b)
{ … }
bool IsWindowsXP()
{ … }
bool IsWindowsVista()
{ … }
bool IsWindows7()
{ … }
bool IsWindows8()
{ … }
bool IsWindows10()
{ … }
bool IsWindows11()
{ … }
bool IsWindowsXPOrLater()
{ … }
bool IsWindowsVistaOrLater()
{ … }
bool IsWindows7OrLater()
{ … }
bool IsWindows8OrLater()
{ … }
bool IsWindows10OrLater()
{ … }
bool IsWindows11OrLater()
{ … }
bool Is64Bit()
{ … }
}