Blacklist STLPort from C++ scopers.
It lacks std::unique_ptr, despite some consumers using it with C++11 in the compiler enabled. Change-Id: Icc79ac4f2385440b36aa6b01b1477abcfa8a9388 Reviewed-on: https://boringssl-review.googlesource.com/10841 Reviewed-by: Matt Braithwaite <mab@google.com> Reviewed-by: David Benjamin <davidben@google.com> Commit-Queue: David Benjamin <davidben@google.com> CQ-Verified: CQ bot account: commit-bot@chromium.org <commit-bot@chromium.org>
This commit is contained in:
parent
f0e935d7ce
commit
3e5619d121
@ -307,6 +307,19 @@ typedef void *OPENSSL_BLOCK;
|
|||||||
#define BORINGSSL_NO_CXX
|
#define BORINGSSL_NO_CXX
|
||||||
#endif
|
#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)
|
#if defined(BORINGSSL_NO_CXX)
|
||||||
|
|
||||||
#define BORINGSSL_MAKE_DELETER(type, deleter)
|
#define BORINGSSL_MAKE_DELETER(type, deleter)
|
||||||
|
Loading…
Reference in New Issue
Block a user