Skip to content

Commit ef6793d

Browse files
committed
wolfssl/wolfcrypt/types.h: if _MSC_VER, disable HAVE_ANONYMOUS_INLINE_AGGREGATES by default.
1 parent b174fcd commit ef6793d

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

wolfssl/wolfcrypt/types.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ typedef const char wcchar[];
125125
/* if a version is available, pivot on the version, otherwise guess it's
126126
* disallowed, subject to override.
127127
*/
128-
#if !defined(WOLF_C89) && (!defined(__STDC__) \
128+
#if !defined(WOLF_C89) && !defined(_MSC_VER) && (!defined(__STDC__) \
129129
|| (!defined(__STDC_VERSION__) && !defined(__cplusplus)) \
130130
|| (defined(__STDC_VERSION__) && (__STDC_VERSION__ >= 201101L)) \
131131
|| (defined(__cplusplus) && (__cplusplus >= 201103L)))

0 commit comments

Comments
 (0)