diff options
Diffstat (limited to 'custom.h')
-rw-r--r-- | custom.h | 20 |
1 files changed, 15 insertions, 5 deletions
@@ -46,16 +46,26 @@ #undef isnan #ifndef _GNU_SOURCE #define _GNU_SOURCE 1 -#endif +#endif /* _GNU_SOURCE */ #ifndef SIZE_MAX #define SIZE_MAX __INT32_MAX -#endif +#endif /* SIZE_MAX */ +#define ULONG_WIDTH 32 #ifndef __VAX #ifndef ULLONG_MAX #define ULLONG_MAX __UINT64_MAX -#endif -#endif -#endif +#endif /* ULLONG_MAX */ +#endif /* __VAX */ +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 /* __VAX */ +#endif /* __VMS */ + /* For QNX, based on submission from Michael Hunter, mphunter@qnx.com */ #ifdef __QNX__ |