diff options
author | John Malmberg <wb8tyw@qsl.net> | 2020-01-26 18:00:43 -0600 |
---|---|---|
committer | John Malmberg <wb8tyw@qsl.net> | 2020-01-26 18:00:43 -0600 |
commit | f2033cb262f310f1a82e53ca1d2124f2389bb37e (patch) | |
tree | cab8e4bdc6a2d3c6b42181387902ec8e1d713ec8 /custom.h | |
parent | 455542e5a75843bb16c9e747fb63a8731021bf85 (diff) | |
download | egawk-f2033cb262f310f1a82e53ca1d2124f2389bb37e.tar.gz egawk-f2033cb262f310f1a82e53ca1d2124f2389bb37e.tar.bz2 egawk-f2033cb262f310f1a82e53ca1d2124f2389bb37e.zip |
Fix for building on 64 bit OpenVMS
Diffstat (limited to 'custom.h')
-rw-r--r-- | custom.h | 10 |
1 files changed, 10 insertions, 0 deletions
@@ -50,12 +50,22 @@ #ifndef SIZE_MAX #define SIZE_MAX __INT32_MAX #endif +#define ULONG_WIDTH 32 #ifndef __VAX #ifndef ULLONG_MAX #define ULLONG_MAX __UINT64_MAX #endif #endif #endif +typedef char int_least8_t; +typedef unsigned char uint_least8_t; +typedef short int_least16_t; +typedef unsigned short uint_least16_t; +#ifndef __VAX +typedef long long int_fast64_t; +typedef unsigned long long uint_fast64_t; +#endif + /* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */ #ifdef __QNX__ |