VMS C doesn't provide intmax_t/uinmax_t, use our own
authorRichard Levitte <levitte@openssl.org>
Wed, 13 Jan 2016 19:25:08 +0000 (20:25 +0100)
committerRichard Levitte <levitte@openssl.org>
Wed, 13 Jan 2016 19:53:09 +0000 (20:53 +0100)
Reviewed-by: Rich Salz <rsalz@openssl.org>
include/openssl/ossl_typ.h

index 059d3865258c585dc3c988e90fedad6595e29f32..ebe091cf2070edeec4ebc42adac217b26429db50 100644 (file)
@@ -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