[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[SCM] gawk branch, master, updated. gawk-4.1.0-3883-gf2033cb

From: John Malmberg
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-3883-gf2033cb
Date: Sun, 26 Jan 2020 19:04:30 -0500 (EST)

This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "gawk".

The branch, master has been updated
       via  f2033cb262f310f1a82e53ca1d2124f2389bb37e (commit)
      from  455542e5a75843bb16c9e747fb63a8731021bf85 (commit)

Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.

- Log -----------------------------------------------------------------

commit f2033cb262f310f1a82e53ca1d2124f2389bb37e
Author: John Malmberg <address@hidden>
Date:   Sun Jan 26 18:00:43 2020 -0600

    Fix for building on 64 bit OpenVMS

diff --git a/ChangeLog b/ChangeLog
index 0a0e203..a34532f 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+2020-01-26         John E. Malmberg      <address@hidden>
+       * 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      <address@hidden>
        * array.c (sort_up_value_type): Small efficiency tweak. Only
diff --git a/custom.h b/custom.h
index 787e08b..2f3a232 100644
--- a/custom.h
+++ b/custom.h
@@ -50,12 +50,22 @@
 #ifndef SIZE_MAX
 #define SIZE_MAX __INT32_MAX
+#define ULONG_WIDTH 32
 #ifndef __VAX
 #ifndef ULLONG_MAX
 #define ULLONG_MAX __UINT64_MAX
+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;
 /* For QNX, based on submission from Michael Hunter, address@hidden */
 #ifdef __QNX__
diff --git a/gettext.h b/gettext.h
index 657fdbe..aed21b8 100644
--- a/gettext.h
+++ b/gettext.h
@@ -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


Summary of changes:
 ChangeLog |  6 ++++++
 custom.h  | 10 ++++++++++
 gettext.h |  2 +-
 3 files changed, 17 insertions(+), 1 deletion(-)


reply via email to

[Prev in Thread] Current Thread [Next in Thread]