diff options
| author | joerg <joerg@NetBSD.org> | 2013-04-26 17:35:52 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2013-04-26 17:35:52 +0000 |
| commit | 1e631edeb5b3d40dd59a0c2c8b2bc3db5b0485cc (patch) | |
| tree | 7bdae5c15278d331401e49f224fdbc317a4c4868 /include | |
| parent | a2c1dfb97c532ee0e8c34dcee55674070c9b9c37 (diff) | |
Do not define the ctype(3) interface via macros for C++.
Diffstat (limited to 'include')
| -rw-r--r-- | include/ctype.h | 5 |
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 |
