Remove compatibility 'inline' define.
MSVC 2015 seems to support it just fine. Change-Id: I9c91c18c260031e6024480d1f57bbb334ed7118c Reviewed-on: https://boringssl-review.googlesource.com/8501 Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
parent
aad50db45d
commit
dca125efb5
@ -141,10 +141,6 @@ extern "C" {
|
||||
void OPENSSL_cpuid_setup(void);
|
||||
#endif
|
||||
|
||||
#if !defined(inline)
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
|
||||
#if !defined(_MSC_VER) && defined(OPENSSL_64_BIT)
|
||||
typedef __int128_t int128_t;
|
||||
|
@ -186,13 +186,9 @@ err:
|
||||
return NULL;
|
||||
}
|
||||
|
||||
#if !defined(inline)
|
||||
#define inline __inline
|
||||
#endif
|
||||
|
||||
/* bit_range returns a |uint8_t| with bits |start|, inclusive, to |end|,
|
||||
* exclusive, set. */
|
||||
static inline uint8_t bit_range(size_t start, size_t end) {
|
||||
static uint8_t bit_range(size_t start, size_t end) {
|
||||
return (uint8_t)(~((1u << start) - 1) & ((1u << end) - 1));
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user