On 09/12/2017 01:57 PM, Bruno Haible wrote:
> Tim Rühsen wrote:
>> I am unsure *why* __GNUC_MINOR isn't defined.
> 
> Because the right spelling is __GNUC_MINOR__ .
> 
> Bruno

Just saw this as well... patch attached

With Best Regards, Tim
From fcd0c12daad4e38f86197bb484989982d0b1c44d Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Tim=20R=C3=BChsen?= <[email protected]>
Date: Tue, 12 Sep 2017 14:08:16 +0200
Subject: [PATCH] libc-config.h: Fix __GNUC_MINOR to __GNUC_MINOR__

---
 lib/libc-config.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/libc-config.h b/lib/libc-config.h
index 93a8db043..e4ebf9b5c 100644
--- a/lib/libc-config.h
+++ b/lib/libc-config.h
@@ -46,7 +46,7 @@
 
 #ifndef __GNUC_PREREQ
 # if defined __GNUC__ && defined __GNUC_MINOR__
-#  define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR))
+#  define __GNUC_PREREQ(maj, min) ((maj) < __GNUC__ + ((min) <= __GNUC_MINOR__))
 # else
 #  define __GNUC_PREREQ(maj, min) 0
 # endif
-- 
2.14.1

Attachment: signature.asc
Description: OpenPGP digital signature

Reply via email to