Source-Changes-HG archive

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

[src/trunk]: src/include Do not define the ctype(3) interface via macros for ...



details:   https://anonhg.NetBSD.org/src/rev/ebe13655f38e
branches:  trunk
changeset: 786325:ebe13655f38e
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri Apr 26 17:35:52 2013 +0000

description:
Do not define the ctype(3) interface via macros for C++.

diffstat:

 include/ctype.h |  5 +++--
 1 files changed, 3 insertions(+), 2 deletions(-)

diffs (19 lines):

diff -r 2723bc65dc15 -r ebe13655f38e include/ctype.h
--- a/include/ctype.h   Fri Apr 26 17:34:55 2013 +0000
+++ b/include/ctype.h   Fri Apr 26 17:35:52 2013 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: ctype.h,v 1.32 2013/04/16 11:29:12 joerg Exp $ */
+/*     $NetBSD: ctype.h,v 1.33 2013/04/26 17:35:52 joerg Exp $ */
 
 /*
  * Copyright (c) 1989 The Regents of the University of California.
@@ -92,7 +92,8 @@
 #endif
 __END_DECLS
 
-#if defined(_NETBSD_SOURCE) && !defined(_CTYPE_NOINLINE)
+#if defined(_NETBSD_SOURCE) && !defined(_CTYPE_NOINLINE) && \
+    !defined(__cplusplus)
 #include <sys/ctype_inline.h>
 #endif
 



Home | Main Index | Thread Index | Old Index