Fix platforms that don't define UINT64_MAX.

Change-Id: I4b41db30d9c5b280ce20ed4cf2812488c1275395
Reviewed-on: https://boringssl-review.googlesource.com/16785
Reviewed-by: Adam Langley <agl@google.com>
This commit is contained in:
Adam Langley 2017-05-31 19:56:14 -07:00
parent 2c84a469b0
commit b22e15c33c

View File

@ -68,6 +68,10 @@
#endif #endif
#if !defined(UINT64_MAX)
#define UINT64_MAX 18446744073709551615ULL
#endif
OPENSSL_MSVC_PRAGMA(warning(disable: 4702)) /* Unreachable code. */ OPENSSL_MSVC_PRAGMA(warning(disable: 4702)) /* Unreachable code. */
typedef struct { typedef struct {