]> git.ipfire.org Git - thirdparty/zstd.git/commitdiff
No stdint.h on OpenVMS.
authorthatsafunnyname <thatsafunnyname@gmail.com>
Wed, 4 May 2016 14:42:25 +0000 (15:42 +0100)
committerthatsafunnyname <thatsafunnyname@gmail.com>
Wed, 4 May 2016 14:42:25 +0000 (15:42 +0100)
No stdint.h on OpenVMS, it is inttypes.h instead, some projects use HAVE_STDINT_H.

programs/xxhash.c

index 352d1e540679ec98914607048ab3ecc044d53f32..2a66e251a9c98aa88bf92e5adc998c534a6f83cd 100644 (file)
@@ -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 <stdint.h>
     typedef uint8_t  BYTE;
     typedef uint16_t U16;