Replaced the macro name "notyet" with a 0. There's always the possibility
that a strictly conforming C program uses that name itself, so it had to be removed. Also put the long comment above the #if 0, because it describes the #if, not the isblank() macro. Added two blank lines to make the grouping clear. Approved by kleink.
This commit is contained in:
parent
d6a0715a49
commit
7f8368c35e
|
@ -1,4 +1,4 @@
|
|||
/* $NetBSD: ctype.h,v 1.27 2005/02/03 04:39:32 perry Exp $ */
|
||||
/* $NetBSD: ctype.h,v 1.28 2005/04/15 23:46:07 rillig Exp $ */
|
||||
|
||||
/*
|
||||
* Copyright (c) 1989 The Regents of the University of California.
|
||||
|
@ -107,13 +107,15 @@ __END_DECLS
|
|||
|
||||
#if defined(_ISO_C99_SOURCE) || (_POSIX_C_SOURCE - 0) > 200112L || \
|
||||
(_XOPEN_SOURCE - 0) > 600 || defined(_NETBSD_SOURCE)
|
||||
#if notyet
|
||||
|
||||
/*
|
||||
* isblank() is implemented as C function, due to insufficient bitwidth in
|
||||
* _ctype_. Note that _B does not mean isblank - it means isprint && !isgraph.
|
||||
*/
|
||||
#if 0
|
||||
#define isblank(c) ((int)((_ctype_ + 1)[(c)] & _B))
|
||||
#endif
|
||||
|
||||
#endif
|
||||
|
||||
#ifdef _CTYPE_PRIVATE
|
||||
|
|
Loading…
Reference in New Issue