diff options
-rw-r--r-- | include/internal/refcount.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/internal/refcount.h b/include/internal/refcount.h index 7412d62f56..8674ab3664 100644 --- a/include/internal/refcount.h +++ b/include/internal/refcount.h @@ -13,7 +13,7 @@ # include <openssl/e_os2.h> # include <openssl/trace.h> -# ifndef OPENSSL_DEV_NO_ATOMICS +# if defined(OPENSSL_THREADS) && !defined(OPENSSL_DEV_NO_ATOMICS) # if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L \ && !defined(__STDC_NO_ATOMICS__) # include <stdatomic.h> |