Procházet zdrojové kódy

Don't test __STDC_VERSION__ unless it's defined.

(Fixes Windows build.)

Change-Id: If6dd5f6ec1263f9e77b852d33b8e3cf0f6dcd95f
kris/onging/CECPQ3_patch15
Adam Langley před 9 roky
rodič
revize
6e1f64568b
1 změnil soubory, kde provedl 2 přidání a 1 odebrání
  1. +2
    -1
      crypto/internal.h

+ 2
- 1
crypto/internal.h Zobrazit soubor

@@ -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



Načítá se…
Zrušit
Uložit