diff options
author | Richard Levitte <levitte@openssl.org> | 2016-01-02 19:19:00 +0100 |
---|---|---|
committer | Richard Levitte <levitte@openssl.org> | 2016-01-02 21:11:02 +0100 |
commit | 1de1d7689a81f2a3ed3348926e6a31ef79a2bc15 (patch) | |
tree | 75f33acb510fe4a3a7a05191eee9689bc0c5759c /include/internal | |
parent | 6aa0ba4bb2833b1e0d6ae98c54c79bfed8257c3a (diff) |
Instead of a local hack, implement SIZE_MAX in numbers.h if it's missing
Reviewed-by: Stephen Henson <steve@openssl.org>
Diffstat (limited to 'include/internal')
-rw-r--r-- | include/internal/numbers.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/include/internal/numbers.h b/include/internal/numbers.h index 1f79ef7972..da06dab7a6 100644 --- a/include/internal/numbers.h +++ b/include/internal/numbers.h @@ -105,5 +105,9 @@ # define UINT64_MAX __MAXUINT__(uint64_t) # endif +# ifndef SIZE_MAX +# define SIZE_MAX __MAXUINT__(size_t) +# endif + #endif |