Browse Source

Don't test __STDC_VERSION__ unless it's defined.

(Fixes Windows build.)

Change-Id: If6dd5f6ec1263f9e77b852d33b8e3cf0f6dcd95f
kris/onging/CECPQ3_patch15
Adam Langley 9 years ago
parent
commit
6e1f64568b
1 changed files with 2 additions and 1 deletions
  1. +2
    -1
      crypto/internal.h

+ 2
- 1
crypto/internal.h View File

@@ -356,7 +356,8 @@ OPENSSL_EXPORT void CRYPTO_once(CRYPTO_once_t *once, void (*init)(void));


/* Reference counting. */ /* 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 #define OPENSSL_C11_ATOMIC
#endif #endif




Loading…
Cancel
Save