Don't test __STDC_VERSION__ unless it's defined.
(Fixes Windows build.) Change-Id: If6dd5f6ec1263f9e77b852d33b8e3cf0f6dcd95f
This commit is contained in:
parent
552df47dc0
commit
6e1f64568b
@ -356,7 +356,8 @@ OPENSSL_EXPORT void CRYPTO_once(CRYPTO_once_t *once, void (*init)(void));
|
||||
|
||||
/* Reference counting. */
|
||||
|
||||
#if __STDC_VERSION__ >= 201112L && !defined(__STDC_NO_ATOMICS__)
|
||||
#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \
|
||||
!defined(__STDC_NO_ATOMICS__)
|
||||
#define OPENSSL_C11_ATOMIC
|
||||
#endif
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user