summaryrefslogtreecommitdiff
path: root/chardefs.h
diff options
context:
space:
mode:
authorChet Ramey <chet.ramey@case.edu>2014-02-26 10:31:21 -0500
committerChet Ramey <chet.ramey@case.edu>2014-02-26 10:31:21 -0500
commit7628b745a813aac53586b640da056a975f1c443e (patch)
treef27689da65e9873cd0a77f64f334814989ef5478 /chardefs.h
parent3fede80c7ae9d396a98137ec8e7188a27c327e96 (diff)
downloadreadline-7628b745a813aac53586b640da056a975f1c443e.tar.gz
Readline-6.3 distribution sources and documentationreadline-6.3
Diffstat (limited to 'chardefs.h')
-rw-r--r--chardefs.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/chardefs.h b/chardefs.h
index e76c34b..1fa1b08 100644
--- a/chardefs.h
+++ b/chardefs.h
@@ -72,7 +72,7 @@
# define IN_CTYPE_DOMAIN(c) isascii(c)
#endif
-#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT)
+#if !defined (isxdigit) && !defined (HAVE_ISXDIGIT) && !defined (__cplusplus)
# define isxdigit(c) (isdigit((c)) || ((c) >= 'a' && (c) <= 'f') || ((c) >= 'A' && (c) <= 'F'))
#endif