Module Name: src
Committed By: joerg
Date: Fri Apr 26 17:35:52 UTC 2013
Modified Files:
src/include: ctype.h
Log Message:
Do not define the ctype(3) interface via macros for C++.
To generate a diff of this commit:
cvs rdiff -u -r1.32 -r1.33 src/include/ctype.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/include/ctype.h
diff -u src/include/ctype.h:1.32 src/include/ctype.h:1.33
--- src/include/ctype.h:1.32 Tue Apr 16 11:29:12 2013
+++ src/include/ctype.h Fri Apr 26 17:35:52 2013
@@ -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