#ifndef COMMON_PLATFORM_HELPERS_H_
#define COMMON_PLATFORM_HELPERS_H_
#include "common/platform.h"
namespace angle
{
inline constexpr bool IsAndroid()
{ … }
inline constexpr bool IsApple()
{ … }
inline constexpr bool IsChromeOS()
{ … }
inline constexpr bool IsFuchsia()
{ … }
inline constexpr bool IsIOS()
{ … }
inline constexpr bool IsLinux()
{ … }
inline constexpr bool IsMac()
{ … }
inline constexpr bool IsWindows()
{ … }
struct VersionTriple
{ … };
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();
}
#endif