emacs-diffs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Emacs-diffs] master 094aaf2: Fix GNUC_PREREQ off-by-1 typo


From: Paul Eggert
Subject: [Emacs-diffs] master 094aaf2: Fix GNUC_PREREQ off-by-1 typo
Date: Sun, 26 Jun 2016 10:45:38 +0000 (UTC)

branch: master
commit 094aaf226f904638f6da22468674782bd36c18e9
Author: Paul Eggert <address@hidden>
Commit: Paul Eggert <address@hidden>

    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 
<http://www.gnu.org/licenses/>.  */
 # 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



reply via email to

[Prev in Thread] Current Thread [Next in Thread]