[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-305
From: |
Arnold Robbins |
Subject: |
[gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-3057-g92014ca |
Date: |
Mon, 1 Oct 2018 14:44:00 -0400 (EDT) |
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-4.2-stable has been updated
via 92014ca462f99220d2238692764f230448e4dae9 (commit)
from 7f684e83cdfa0647d8e197271fe318d2c185d291 (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=92014ca462f99220d2238692764f230448e4dae9
commit 92014ca462f99220d2238692764f230448e4dae9
Author: Arnold D. Robbins <address@hidden>
Date: Mon Oct 1 21:43:41 2018 +0300
Fix for regex for non-GNU compilers.
diff --git a/ChangeLog b/ChangeLog
index 1a6adad..57d198b 100755
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+2018-10-01 Nelson H.F. Beebe <address@hidden>
+
+ * custom.h (__builtin_expect): Define for non-GNU compilers.
+
2018-09-27 Andrew J. Schorr <address@hidden>
* mpfr.c (force_mpnum): Check that base is 10 also before
diff --git a/custom.h b/custom.h
index 774659a..522d337 100644
--- a/custom.h
+++ b/custom.h
@@ -53,6 +53,13 @@
#endif
#endif
+/* This keeps regex happy on non-GCC compilers */
+#ifndef __GNUC__
+#ifndef __builtin_expect
+#define __builtin_expect(expr, val) (expr)
+#endif
+#endif
+
/* For QNX, based on submission from Michael Hunter, address@hidden */
#ifdef __QNX__
#define GETPGRP_VOID 1
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 4 ++++
custom.h | 7 +++++++
2 files changed, 11 insertions(+)
hooks/post-receive
--
gawk
[Prev in Thread] |
Current Thread |
[Next in Thread] |
- [gawk-diffs] [SCM] gawk branch, gawk-4.2-stable, updated. gawk-4.1.0-3057-g92014ca,
Arnold Robbins <=