gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4985-g24030729


From: Arnold Robbins
Subject: [SCM] gawk branch, gawk-5.2-stable, updated. gawk-4.1.0-4985-g24030729
Date: Thu, 2 Feb 2023 11:54:15 -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, gawk-5.2-stable has been updated
       via  240307290f243028846ed200c27e22f8bd6dc114 (commit)
      from  743c5f88b9cb030a53fe0c0aa0067507a9d50188 (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 -----------------------------------------------------------------
http://git.sv.gnu.org/cgit/gawk.git/commit/?id=240307290f243028846ed200c27e22f8bd6dc114

commit 240307290f243028846ed200c27e22f8bd6dc114
Author: John Malmberg <wb8tyw@qsl.net>
Date:   Thu Feb 2 07:43:54 2023 -0600

    OpenVMS does not have bool type

diff --git a/ChangeLog b/ChangeLog
index f5a33e0c..b2d70c15 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2023-02-02         John E. Malmberg      <wb8tyw@qsl.net>
+
+       * custom.h (bool) OpenVMS compilers do not have a bool type
+
 2023-01-31         Arnold D. Robbins     <arnold@skeeve.com>
 
        * interpret.h (r_interpret): For op_subscript, upref the variable
diff --git a/custom.h b/custom.h
index 37928f94..65140ed2 100644
--- a/custom.h
+++ b/custom.h
@@ -11,7 +11,7 @@
  */
 
 /*
- * Copyright (C) 1995-2004, 2008, 2009, 2011, 2016, 2018-2022,
+ * Copyright (C) 1995-2004, 2008, 2009, 2011, 2016, 2018-2023,
  * the Free Software Foundation, Inc.
  *
  * This file is part of GAWK, the GNU implementation of the
@@ -72,6 +72,13 @@ typedef long long int_fast64_t;
 typedef unsigned long long uint_fast64_t;
 #endif /* __VAX */
 #endif
+/* Still lacking a lot of C99 Support in OpenVMS */
+#ifndef __bool_true_false_are_defined
+typedef _Bool bool;
+#define true 1
+#define false 0
+#define __bool_true_false_are_defined 1
+#endif
 #endif /* __VMS */
 
 

-----------------------------------------------------------------------

Summary of changes:
 ChangeLog | 4 ++++
 custom.h  | 9 ++++++++-
 2 files changed, 12 insertions(+), 1 deletion(-)


hooks/post-receive
-- 
gawk



reply via email to

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