From aacf94516b1e447aed40ce70c992f64da7b467b7 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Fri, 24 Jul 2020 08:57:05 -0700 Subject: [PATCH] Fix _GL_CMP parenthesization typo * m4/gnulib-common.m4 (_GL_CMP): Properly parenthesize. --- ChangeLog | 5 +++++ m4/gnulib-common.m4 | 2 +- 2 files changed, 6 insertions(+), 1 deletion(-) diff --git a/ChangeLog b/ChangeLog index 23e8099821..01577c9bb2 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +2020-07-24 Paul Eggert + + Fix _GL_CMP parenthesization typo + * m4/gnulib-common.m4 (_GL_CMP): Properly parenthesize. + 2020-07-24 Bruno Haible dfa: Revert breaking gawk. diff --git a/m4/gnulib-common.m4 b/m4/gnulib-common.m4 index ba4239188d..dfd4a258e5 100644 --- a/m4/gnulib-common.m4 +++ b/m4/gnulib-common.m4 @@ -305,7 +305,7 @@ AC_DEFUN([gl_COMMON_BODY], [ GCC versions up to GCC 9. The better code (n1 > n2) - (n1 < n2) from Hacker's Delight § 2-9 avoids conditional jumps in all GCC versions >= 3.4. */ -#define _GL_CMP(n1, n2) ((n1) > (n2)) - ((n1) < (n2)) +#define _GL_CMP(n1, n2) (((n1) > (n2)) - ((n1) < (n2))) ]) dnl Hint which direction to take regarding cross-compilation guesses: dnl When a user installs a program on a platform they are not intimately -- 2.39.5