summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorjoerg <joerg@NetBSD.org>2013-04-26 17:35:52 +0000
committerjoerg <joerg@NetBSD.org>2013-04-26 17:35:52 +0000
commit1e631edeb5b3d40dd59a0c2c8b2bc3db5b0485cc (patch)
tree7bdae5c15278d331401e49f224fdbc317a4c4868 /include
parenta2c1dfb97c532ee0e8c34dcee55674070c9b9c37 (diff)
Do not define the ctype(3) interface via macros for C++.
Diffstat (limited to 'include')
-rw-r--r--include/ctype.h5
1 files changed, 3 insertions, 2 deletions
diff --git a/include/ctype.h b/include/ctype.h
index 4f92bc7e37d..0679ae8a518 100644
--- a/include/ctype.h
+++ b/include/ctype.h
@@ -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 @@ int isblank(int);
#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