diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-27 11:01:17 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2008-12-27 11:01:17 +0000 |
commit | d2ac303510709b978fe85719635ef715260a2e87 (patch) | |
tree | dd8d2198f115a466eaad20cd5832b179a157fbc1 /include | |
parent | cf578c75a521e1f35a9f07ca04c0cd678209c79f (diff) |
Help unifdef to remove private parts of headers
Diffstat (limited to 'include')
-rw-r--r-- | include/ctype.h | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/include/ctype.h b/include/ctype.h index 6933c96c0..e1aea86a2 100644 --- a/include/ctype.h +++ b/include/ctype.h @@ -229,7 +229,9 @@ extern int _tolower(int __c) __THROW; })) #define __isctype(c, type) ((__UCLIBC_CTYPE_B)[(int)(c)] & (__ctype_mask_t)type) -#if !defined __NO_CTYPE && !defined __cplusplus +/* Do not combine in one #if - unifdef tool is not that clever */ +#ifndef __NO_CTYPE +#ifndef __cplusplus # define isalnum(c) __isctype((c), _ISalnum) # define isalpha(c) __isctype((c), _ISalpha) # define iscntrl(c) __isctype((c), _IScntrl) @@ -270,7 +272,8 @@ __NTH (toupper (int __c)) # define _toupper(c) ((int) (__UCLIBC_CTYPE_TOUPPER)[(int) (c)]) # endif -#endif /* Not __NO_CTYPE. */ +#endif /* not __cplusplus */ +#endif /* not __NO_CTYPE */ #if defined __USE_GNU && defined __UCLIBC_HAS_XLOCALE__ |