aboutsummaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorViktor Dukhovni <openssl-users@dukhovni.org>2016-01-13 15:42:06 -0500
committerViktor Dukhovni <openssl-users@dukhovni.org>2016-01-13 16:12:31 -0500
commitd94a1a706589414f705bb459ec983a722c060236 (patch)
tree1522784223159ae437a48f932f65f051ec52061c /include
parent6b95a37833415d8fd1abb85f85e29fb57c05b11c (diff)
downloadopenssl-d94a1a706589414f705bb459ec983a722c060236.tar.gz
For stro[ui]max require both C99 and UINTMAX_MAX/INTMAX_MAX
Reviewed-by: Richard Levitte <levitte@openssl.org>
Diffstat (limited to 'include')
-rw-r--r--include/openssl/ossl_typ.h4
1 files changed, 2 insertions, 2 deletions
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