From eef5fdb58aba31bdccff68cb2a3b5b4064e50336 Mon Sep 17 00:00:00 2001 From: thatsafunnyname Date: Wed, 4 May 2016 15:39:31 +0100 Subject: [PATCH 1/3] No stdint.h on OpenVMS. No stdint.h on OpenVMS, it is inttypes.h instead, some projects use HAVE_STDINT_H. --- programs/datagen.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/datagen.c b/programs/datagen.c index b7e33e3c..bf35c568 100644 --- a/programs/datagen.c +++ b/programs/datagen.c @@ -34,7 +34,7 @@ /*-************************************ * Basic Types **************************************/ -#if defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */ +#if !defined (__VMS) && ( defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */ ) # include typedef uint8_t BYTE; typedef uint16_t U16; From dca5cf92ac4f489e4565d28d25965b88d339b8a5 Mon Sep 17 00:00:00 2001 From: thatsafunnyname Date: Wed, 4 May 2016 15:42:25 +0100 Subject: [PATCH 2/3] No stdint.h on OpenVMS. No stdint.h on OpenVMS, it is inttypes.h instead, some projects use HAVE_STDINT_H. --- programs/xxhash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/programs/xxhash.c b/programs/xxhash.c index 352d1e54..2a66e251 100644 --- a/programs/xxhash.c +++ b/programs/xxhash.c @@ -123,7 +123,7 @@ static void* XXH_memcpy(void* dest, const void* src, size_t size) { return memcp ***************************************/ #ifndef MEM_MODULE # define MEM_MODULE -# if defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 */ +# if !defined (__VMS) && ( defined (__STDC_VERSION__) && __STDC_VERSION__ >= 199901L /* C99 */ ) # include typedef uint8_t BYTE; typedef uint16_t U16; From b0e5427d1a94107c706cf5f0db91fb28857f8c64 Mon Sep 17 00:00:00 2001 From: thatsafunnyname Date: Wed, 4 May 2016 15:43:42 +0100 Subject: [PATCH 3/3] No stdint.h on OpenVMS. No stdint.h on OpenVMS, it is inttypes.h instead, some projects use HAVE_STDINT_H. --- lib/common/mem.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lib/common/mem.h b/lib/common/mem.h index ceafd57b..dbefcdb2 100644 --- a/lib/common/mem.h +++ b/lib/common/mem.h @@ -63,7 +63,7 @@ extern "C" { /*-************************************************************** * Basic Types *****************************************************************/ -#if defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) +#if !defined (__VMS) && ( defined (__cplusplus) || (defined (__STDC_VERSION__) && (__STDC_VERSION__ >= 199901L) /* C99 */) ) # include typedef uint8_t BYTE; typedef uint16_t U16;