+upd: Windows 11 Version information (V23H2)

This commit is contained in:
METANEOCORTEX\Kotti 2024-01-10 13:49:15 +01:00
parent ccfebb912b
commit ea4f7fade0
2 changed files with 15 additions and 4 deletions

View File

@ -86,7 +86,12 @@ inline LPCWSTR _Win10BuildToReleaseId(const DWORD build)
if (build >= 22000) { // Win11
if (build >= 22621) {
if (build >= 22631)
{
lpcReleaseID = L"23H2";
}
else if (build >= 22621)
{
lpcReleaseID = L"22H2";
}
else {
@ -225,8 +230,10 @@ inline LPCWSTR _Win10BuildToReleaseId(const DWORD build)
#define VER_CPL MS Visual C++ 2022 v17.0.(0-1)
#endif
#elif (_MSC_VER == 1929)
#if (_MSC_FULL_VER >= 192930152)
#define VER_CPL MS Visual C++ 2019 v16.11.30
#if (_MSC_FULL_VER >= 192930153)
#define VER_CPL MS Visual C++ 2019 v16.11.33
#elif (_MSC_FULL_VER >= 192930152)
#define VER_CPL MS Visual C++ 2019 v16.11.(30-32)
#elif (_MSC_FULL_VER >= 192930151)
#define VER_CPL MS Visual C++ 2019 v16.11.29
#elif (_MSC_FULL_VER >= 192930150)

View File

@ -48,7 +48,10 @@ extern "C" {
#define TE_INT_FMT "%i"
#endif
typedef struct te_expr {
#pragma warning(push)
#pragma warning(disable:4201)
typedef struct te_expr {
int type;
union {double value; const double * bound; const void * function;};
#if defined(TINYEXPR_USE_STATIC_MEMORY)
@ -58,6 +61,7 @@ typedef struct te_expr {
#endif
} te_expr;
#pragma warning(pop)
enum {
TE_VARIABLE = 0,