|
|
@@ -340,6 +340,9 @@ typedef void *OPENSSL_BLOCK; |
|
|
|
|
|
|
|
#if defined(__cplusplus) |
|
|
|
} /* extern C */ |
|
|
|
#elif !defined(BORINGSSL_NO_CXX) |
|
|
|
#define BORINGSSL_NO_CXX |
|
|
|
#endif |
|
|
|
|
|
|
|
// MSVC doesn't set __cplusplus to 201103 to indicate C++11 support (see |
|
|
|
// https://connect.microsoft.com/VisualStudio/feedback/details/763051/a-value-of-predefined-macro-cplusplus-is-still-199711l) |
|
|
@@ -370,8 +373,6 @@ extern "C++" { |
|
|
|
|
|
|
|
extern "C++" { |
|
|
|
|
|
|
|
#include <memory> |
|
|
|
|
|
|
|
namespace bssl { |
|
|
|
|
|
|
|
namespace internal { |
|
|
@@ -452,6 +453,4 @@ using UniquePtr = std::unique_ptr<T, internal::Deleter<T>>; |
|
|
|
|
|
|
|
#endif // !BORINGSSL_NO_CXX |
|
|
|
|
|
|
|
#endif |
|
|
|
|
|
|
|
#endif /* OPENSSL_HEADER_BASE_H */ |