From d94a1a706589414f705bb459ec983a722c060236 Mon Sep 17 00:00:00 2001 From: Viktor Dukhovni Date: Wed, 13 Jan 2016 15:42:06 -0500 Subject: For stro[ui]max require both C99 and UINTMAX_MAX/INTMAX_MAX Reviewed-by: Richard Levitte --- include/openssl/ossl_typ.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include') diff --git a/include/openssl/ossl_typ.h b/include/openssl/ossl_typ.h index 87b99f2783..faa631931a 100644 --- a/include/openssl/ossl_typ.h +++ b/include/openssl/ossl_typ.h @@ -201,8 +201,8 @@ typedef struct ocsp_req_ctx_st OCSP_REQ_CTX; typedef struct ocsp_response_st OCSP_RESPONSE; typedef struct ocsp_responder_id_st OCSP_RESPID; -#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \ - && !defined(OPENSSL_SYS_VMS) +#if defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L && \ + defined(INTMAX_MAX) && defined(UINTMAX_MAX) typedef intmax_t ossl_intmax_t; typedef uintmax_t ossl_uintmax_t; #else -- cgit v1.2.3