summaryrefslogtreecommitdiff
path: root/m4
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2020-07-24 08:57:05 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2020-07-24 10:54:12 -0700
commitaacf94516b1e447aed40ce70c992f64da7b467b7 (patch)
tree8ad0b266cf87a382b037469bde53e59120f13276 /m4
parent7ea899a94365ece6367515a7e61452d9d2e61730 (diff)
downloadgnulib-aacf94516b1e447aed40ce70c992f64da7b467b7.tar.gz
Fix _GL_CMP parenthesization typo
* m4/gnulib-common.m4 (_GL_CMP): Properly parenthesize.
Diffstat (limited to 'm4')
-rw-r--r--m4/gnulib-common.m42
1 files changed, 1 insertions, 1 deletions
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