diff options
-rw-r--r-- | ChangeLog | 6 | ||||
-rw-r--r-- | custom.h | 10 | ||||
-rw-r--r-- | gettext.h | 2 |
3 files changed, 17 insertions, 1 deletions
@@ -1,3 +1,9 @@ +2020-01-26 John E. Malmberg <wb8tyw@qsl.net> + + * custom.h: Additional OpenVMS typedefs needed. + * getext.h: Fix macro for implementations with out gettext + to not force the result to be a const char *. + 2020-01-26 Andrew J. Schorr <aschorr@telemetry-investments.com> * array.c (sort_up_value_type): Small efficiency tweak. Only @@ -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__ @@ -73,7 +73,7 @@ On pre-ANSI systems without 'const', the config.h file is supposed to contain "#define const". */ # undef gettext -# define gettext(Msgid) ((const char *) (Msgid)) +# define gettext(Msgid) ((char *) (Msgid)) # undef dgettext # define dgettext(Domainname, Msgid) ((void) (Domainname), gettext (Msgid)) # undef dcgettext |