>From 6eeccbb96f0af524fd77c6a9dea0456e52682638 Mon Sep 17 00:00:00 2001 From: Paul Eggert Date: Sun, 26 Jun 2016 12:44:39 +0200 Subject: [PATCH] Fix GNUC_PREREQ off-by-1 typo Problem reported by Martin Rudalics in: http://lists.gnu.org/archive/html/emacs-devel/2016-06/msg00587.html * src/conf_post.h (GNUC_PREREQ) [__GNUC_PATCHLEVEL__]: Fix < vs <= typo. --- src/conf_post.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/conf_post.h b/src/conf_post.h index 7aa5bae..69b981f 100644 --- a/src/conf_post.h +++ b/src/conf_post.h @@ -42,7 +42,7 @@ along with GNU Emacs. If not, see . */ # define GNUC_PREREQ(v, w, x) ((v) < __GNUC__ + ((w) <= __GNUC_MINOR__)) #else # define GNUC_PREREQ(v, w, x) \ - ((v) < __GNUC__ + ((w) <= __GNUC_MINOR__ + ((x) <= __GNUC_PATCHLEVEL__))) + ((v) < __GNUC__ + ((w) < __GNUC_MINOR__ + ((x) <= __GNUC_PATCHLEVEL__))) #endif /* The type of bool bitfields. Needed to compile Objective-C with -- 2.5.5