From: Paul Eggert Date: Sun, 26 Jun 2016 10:44:39 +0000 (+0200) Subject: Fix GNUC_PREREQ off-by-1 typo X-Git-Tag: emacs-26.0.90~1840^2~167 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=094aaf226f904638f6da22468674782bd36c18e9;p=emacs.git 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. --- diff --git a/src/conf_post.h b/src/conf_post.h index 7aa5baeb30e..69b981feef6 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