Blame SOURCES/readline-6.2-cppmacro.patch

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