Blame SOURCES/readline-6.2-cppmacro.patch

b13877
diff -up readline-6.2/chardefs.h.orig readline-6.2/chardefs.h
b13877
--- readline-6.2/chardefs.h.orig	2011-08-31 09:24:01.852751855 +0200
b13877
+++ readline-6.2/chardefs.h	2011-08-31 09:24:07.143685706 +0200
b13877
@@ -72,7 +72,7 @@
b13877
 #  define IN_CTYPE_DOMAIN(c) isascii(c)
b13877
 #endif
b13877
 
b13877
-#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT)
b13877
+#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) && !defined (__cplusplus) 
b13877
 #  define isxdigit(c)   (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
b13877
 #endif
b13877