gawk-diffs
[Top][All Lists]
Advanced

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

[SCM] gawk branch, master, updated. gawk-4.1.0-5118-g2c6561a4


From: John Malmberg
Subject: [SCM] gawk branch, master, updated. gawk-4.1.0-5118-g2c6561a4
Date: Thu, 2 Feb 2023 08:48:16 -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  2c6561a4f0293ef973bb99a58b63fe9d372733c1 (commit)
      from  579acd4d5535e5525d738da714f8d7c9c63737f1 (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=2c6561a4f0293ef973bb99a58b63fe9d372733c1

commit 2c6561a4f0293ef973bb99a58b63fe9d372733c1
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 36416c4f..1b152a88 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]