Have consumers supply OPENSSL_C11_ATOMIC.

Support is spotty enough with compiler/library mismatches, and this doesn't
leak to public headers. It's probably simplest to just have consumers supply
it as a build flag.

BUG=491808

Change-Id: I0576a0514a266ee90d644317ae0f49cdddbafd1d
Reviewed-on: https://boringssl-review.googlesource.com/4880
Reviewed-by: Yoshisato Yanagisawa <yyanagisawa@chromium.org>
Reviewed-by: Adam Langley <agl@google.com>
diff --git a/crypto/internal.h b/crypto/internal.h
index 8c38279..59eddd0 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -356,15 +356,6 @@
 
 /* Reference counting. */
 
-#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 201112L && \
-    !defined(__STDC_NO_ATOMICS__)
-/* OSX's atomic support is broken: the compiler sets the right macros but
- * stdatomic.h is missing. */
-#if !defined(OPENSSL_APPLE)
-#define OPENSSL_C11_ATOMIC
-#endif
-#endif
-
 /* CRYPTO_REFCOUNT_MAX is the value at which the reference count saturates. */
 #define CRYPTO_REFCOUNT_MAX 0xffffffff