mirror of
https://github.com/wolfSSL/wolfssl.git
synced 2025-07-30 02:37:28 +02:00
Merge pull request #8013 from douzzer/20240924-static_assert-MSVC
20240924-static_assert-MSVC
This commit is contained in:
@ -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
|
||||
|
Reference in New Issue
Block a user