From: Paul Eggert Date: Fri, 24 Jul 2020 15:57:05 +0000 (-0700) Subject: Fix _GL_CMP parenthesization typo X-Git-Tag: v1.0~3869 X-Git-Url: https://gitweb.git.savannah.gnu.org/gitweb/?a=commitdiff_plain;h=aacf94516b1e447aed40ce70c992f64da7b467b7;p=gnulib.git Fix _GL_CMP parenthesization typo * m4/gnulib-common.m4 (_GL_CMP): Properly parenthesize. --- 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