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/mbrtowc.c')
-rw-r--r--newlib/libc/stdlib/mbrtowc.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/newlib/libc/stdlib/mbrtowc.c b/newlib/libc/stdlib/mbrtowc.c
index c5e700dc9..3a9659243 100644
--- a/newlib/libc/stdlib/mbrtowc.c
+++ b/newlib/libc/stdlib/mbrtowc.c
@@ -1,5 +1,4 @@
#include <reent.h>
-#include <newlib.h>
#include <wchar.h>
#include <stdlib.h>
#include <stdio.h>
@@ -16,7 +15,7 @@ _DEFUN (_mbrtowc_r, (ptr, pwc, s, n, ps),
{
int retval = 0;
-#ifdef _MB_CAPABLE
+#ifdef MB_CAPABLE
if (ps == NULL)
{
_REENT_CHECK_MISC(ptr);