Instead of a local hack, implement SIZE_MAX in numbers.h if it's missing

Reviewed-by: Stephen Henson <steve@openssl.org>
This commit is contained in:
Richard Levitte
2016-01-02 19:19:00 +01:00
parent 6aa0ba4bb2
commit 1de1d7689a
2 changed files with 6 additions and 5 deletions

View File

@@ -105,5 +105,9 @@
# define UINT64_MAX __MAXUINT__(uint64_t)
# endif
# ifndef SIZE_MAX
# define SIZE_MAX __MAXUINT__(size_t)
# endif
#endif