diff options
author | Adam Langley <agl@google.com> | 2016-07-12 03:00:46 +0300 |
---|---|---|
committer | David Benjamin <davidben@google.com> | 2016-07-12 03:04:04 +0300 |
commit | 8d79ed67407e433d80ebc8d3aa080e8ce16e6eb7 (patch) | |
tree | a1e260ba3756c00e0334b3598bd0486f15d2db2c /include/openssl/bn.h | |
parent | 19fdcb523402ed13ab798cf811fb0119e3e7b104 (diff) |
Assume that MSVC supports C++11.
MSVC doesn't define __cplusplus as 201103 to indicate C++11 support, so
just assume that the compiler supports C++11 if _MSC_VER is defined.
Change-Id: I27f6eeefe6e8dc522470f36fab76ab36d85eebac
Reviewed-on: https://boringssl-review.googlesource.com/8734
Reviewed-by: David Benjamin <davidben@google.com>
Diffstat (limited to 'include/openssl/bn.h')
-rw-r--r-- | include/openssl/bn.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/openssl/bn.h b/include/openssl/bn.h index 9764140c..03ea7dc8 100644 --- a/include/openssl/bn.h +++ b/include/openssl/bn.h @@ -867,7 +867,7 @@ OPENSSL_EXPORT unsigned BN_num_bits_word(BN_ULONG l); #if defined(__cplusplus) } /* extern C */ -#if __cplusplus >= 201103 +#if defined(BORINGSSL_HAVE_CXX11) namespace bssl { |