Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'newlib/testsuite')
-rw-r--r--newlib/testsuite/newlib.wctype/twctype.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/newlib/testsuite/newlib.wctype/twctype.c b/newlib/testsuite/newlib.wctype/twctype.c
index 7adf5080d..d206876f8 100644
--- a/newlib/testsuite/newlib.wctype/twctype.c
+++ b/newlib/testsuite/newlib.wctype/twctype.c
@@ -8,9 +8,8 @@
int main()
{
- if (_ELIX_LEVEL == 1)
- { /* no testing..wctype functions aren't present */ }
- else if (_MB_LEN_MAX == 1)
+#if !defined(_ELIX_LEVEL) || _ELIX_LEVEL > 1
+ if (_MB_LEN_MAX == 1)
{
CHECK (iswalpha(L'a'));
CHECK (!iswalpha(L'3'));
@@ -59,6 +58,7 @@ int main()
CHECK (iswxdigit(L'A'));
CHECK (!iswxdigit(0x1f48));
}
+#endif
exit (0);
}