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

lib/common/mem.h

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