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:
authorDavid Benjamin <davidben@chromium.org>2015-11-14 19:57:11 +0300
committerAdam Langley <agl@google.com>2015-11-17 02:18:00 +0300
commit2077cf915283d6a2292d6114f131dd5af124b1b0 (patch)
tree072e2269928d1eb6903f6db0e942e705cff02c86 /crypto/internal.h
parentaf07365b498b4cf183493a86dcfd768b3a5e8eaa (diff)
Use UINT64_C instead of OPENSSL_U64.
stdint.h already has macros for this. The spec says that, in C++, __STDC_CONSTANT_MACROS is needed, so define it for bytestring_test.cc. Chromium seems to use these macros without trouble, so I'm assuming we can rely on them. Change-Id: I56d178689b44d22c6379911bbb93d3b01dd832a3 Reviewed-on: https://boringssl-review.googlesource.com/6510 Reviewed-by: Adam Langley <agl@google.com>
Diffstat (limited to 'crypto/internal.h')
-rw-r--r--crypto/internal.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/crypto/internal.h b/crypto/internal.h
index 713659de..ede8c279 100644
--- a/crypto/internal.h
+++ b/crypto/internal.h
@@ -168,18 +168,6 @@ extern "C" {
#endif
-#if defined(_MSC_VER)
-#define OPENSSL_U64(x) x##UI64
-#else
-
-#if defined(OPENSSL_64_BIT)
-#define OPENSSL_U64(x) x##UL
-#else
-#define OPENSSL_U64(x) x##ULL
-#endif
-
-#endif /* defined(_MSC_VER) */
-
#if defined(OPENSSL_X86) || defined(OPENSSL_X86_64) || defined(OPENSSL_ARM) || \
defined(OPENSSL_AARCH64)
/* OPENSSL_cpuid_setup initializes OPENSSL_ia32cap_P. */