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

programs/datagen.c

index b7e33e3c7dabf7309c37b22f63bb04aa2ada914d..bf35c568b6db19afaf2e5097704a0d2341b28b3b 100644 (file)
@@ -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 <stdint.h>
   typedef  uint8_t BYTE;
   typedef uint16_t U16;