summaryrefslogtreecommitdiff
path: root/test/ctype
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 23:00:32 +0100
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2009-11-19 23:00:32 +0100
commit8793e73bdbc8c9b4c4ad218bc9159eecf36ebcaa (patch)
tree1187b38dbcb694e05ab4f23b288e2479cf541bd0 /test/ctype
parented4533ecdc7c39e8c6e7f1f3d4a0c00a8c1845a5 (diff)
SUSv4: disable isascii, toascii, _toupper, _tolower
[__]isascii need to be defined all the time for the build. Signed-off-by: Peter S. Mazinger <ps.m@gmx.net> Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'test/ctype')
-rw-r--r--test/ctype/ctype.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/test/ctype/ctype.c b/test/ctype/ctype.c
index 352b2d2c8..f38f722b2 100644
--- a/test/ctype/ctype.c
+++ b/test/ctype/ctype.c
@@ -56,6 +56,7 @@ int main( int argc, char **argv)
+#ifdef __UCLIBC_SUSV4_LEGACY__
/* isascii() */
{
int buffer[]={ 'a', 'z', 'A', 'Z', '\n', -1};
@@ -71,6 +72,7 @@ int main( int argc, char **argv)
TEST( isascii(c)==0);
}
}
+#endif
/* iscntrl() */