diff options
author | Robert Sloan <varomodt@google.com> | 2017-07-19 08:38:33 -0700 |
---|---|---|
committer | Robert Sloan <varomodt@google.com> | 2017-07-19 09:08:51 -0700 |
commit | 682d4e9e966a91cfdd932e78c2d322294a48f4ba (patch) | |
tree | c9cf018d1e87e9ff2810db33e9db6642ec7e6d86 /src | |
parent | 033ec98c50ae610ae68ec3f6b441fe8795165b3a (diff) | |
download | boringssl-682d4e9e966a91cfdd932e78c2d322294a48f4ba.tar.gz |
Set BoringSSL to use C++11.
Test: CTS Presubmits.
Change-Id: Ieef3727e762c90e4aa3d1887a4b6ed807ab1ccd8
Diffstat (limited to 'src')
-rw-r--r-- | src/include/openssl/bn.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/include/openssl/bn.h b/src/include/openssl/bn.h index 0d2068fa..ee331669 100644 --- a/src/include/openssl/bn.h +++ b/src/include/openssl/bn.h @@ -938,7 +938,8 @@ OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l); #if defined(__cplusplus) } /* extern C */ -#if !defined(OPENSSL_NO_CXX) +#if (__cplusplus >= 201103L || (__cplusplus < 200000 && __cplusplus > 199711L)) && !defined(OPENSSL_NO_CXX) + extern "C++" { namespace bssl { |