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; 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; 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;