Merge pull request #8013 from douzzer/20240924-static_assert-MSVC

20240924-static_assert-MSVC
This commit is contained in:
JacobBarthelmeh
2024-09-25 11:55:05 -06:00
committed by GitHub

View File

@ -1695,7 +1695,8 @@ typedef struct w64wrapper {
#define WC_CPP_CAT_(a, b) a ## b
#define WC_CPP_CAT(a, b) WC_CPP_CAT_(a, b)
#if defined(__cplusplus) && (__cplusplus >= 201103L)
#if (defined(__cplusplus) && (__cplusplus >= 201103L)) || \
(defined(_MSVC_LANG) && (_MSVC_LANG >= 201103L))
#ifndef static_assert2
#define static_assert2 static_assert
#endif