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/libc/stdlib/mbrlen.c')
-rw-r--r--newlib/libc/stdlib/mbrlen.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/mbrlen.c b/newlib/libc/stdlib/mbrlen.c
index ac9aa324f..cf14add86 100644
--- a/newlib/libc/stdlib/mbrlen.c
+++ b/newlib/libc/stdlib/mbrlen.c
@@ -1,5 +1,4 @@
#include <reent.h>
-#include <newlib.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
@@ -8,7 +7,7 @@
size_t
mbrlen(const char *s, size_t n, mbstate_t *ps)
{
-#ifdef _MB_CAPABLE
+#ifdef MB_CAPABLE
if (ps == NULL)
{
_REENT_CHECK_MISC(_REENT);