summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorRichard Levitte <levitte@openssl.org>2016-01-13 20:25:08 +0100
committerRichard Levitte <levitte@openssl.org>2016-01-13 20:53:09 +0100
commit6f84b383d3c19a1993f08cdfa9a23d7649161823 (patch)
treef8945cd084cc69df6ff7dcb58f62e45334dfa871
parent3aef36ffef89849348049296892327e6fdf9d705 (diff)
VMS C doesn't provide intmax_t/uinmax_t, use our own
Reviewed-by: Rich Salz <rsalz@openssl.org>
-rw-r--r--include/openssl/ossl_typ.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/openssl/ossl_typ.h b/include/openssl/ossl_typ.h
index 059d386525..ebe091cf20 100644
--- a/include/openssl/ossl_typ.h
+++ b/include/openssl/ossl_typ.h
@@ -201,7 +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
+#if (defined(__STDC_VERSION__) && __STDC_VERSION__ >= 199901L) \
+ && !defined(OPENSSL_SYS_VMS);
typedef intmax_t ossl_intmax_t;
typedef uintmax_t ossl_uintmax_t;
#else