Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/boringssl.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/openssl/base.h13
1 files changed, 13 insertions, 0 deletions
diff --git a/include/openssl/base.h b/include/openssl/base.h
index bfb4ea84..ff3f7eea 100644
--- a/include/openssl/base.h
+++ b/include/openssl/base.h
@@ -307,6 +307,19 @@ typedef void *OPENSSL_BLOCK;
#define BORINGSSL_NO_CXX
#endif
+#if !defined(BORINGSSL_NO_CXX)
+extern "C++" {
+
+#include <memory>
+
+// STLPort, used by some Android consumers, not have std::unique_ptr.
+#if defined(_STLPORT_VERSION)
+#define BORINGSSL_NO_CXX
+#endif
+
+} // extern C++
+#endif // !BORINGSSL_NO_CXX
+
#if defined(BORINGSSL_NO_CXX)
#define BORINGSSL_MAKE_DELETER(type, deleter)