We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 72711b4 commit 267add1Copy full SHA for 267add1
1 file changed
wolfssl/wolfcrypt/types.h
@@ -1695,7 +1695,8 @@ typedef struct w64wrapper {
1695
1696
#define WC_CPP_CAT_(a, b) a ## b
1697
#define WC_CPP_CAT(a, b) WC_CPP_CAT_(a, b)
1698
- #if defined(__cplusplus) && (__cplusplus >= 201103L)
+ #if (defined(__cplusplus) && (__cplusplus >= 201103L)) || \
1699
+ (defined(_MSVC_LANG) && (_MSVC_LANG >= 201103L))
1700
#ifndef static_assert2
1701
#define static_assert2 static_assert
1702
#endif
0 commit comments