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/include/wchar.h')
-rw-r--r--newlib/libc/include/wchar.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/newlib/libc/include/wchar.h b/newlib/libc/include/wchar.h
index f9e623774..5707ddcd3 100644
--- a/newlib/libc/include/wchar.h
+++ b/newlib/libc/include/wchar.h
@@ -179,13 +179,8 @@ int _EXFUN(_wscanf_r, (struct _reent *, const wchar_t *, ...));
#define getwc(fp) fgetwc(fp)
#define putwc(wc,fp) fputwc((wc), (fp))
-#ifndef _REENT_ONLY
#define getwchar() fgetwc(_REENT->_stdin)
#define putwchar(wc) fputwc((wc), _REENT->_stdout)
-#else
-#define getwchar() fgetwc(_impure_ptr->_stdin)
-#define putwchar(wc) fputwc((wc), _impure_ptr->_stdout)
-#endif
_END_STD_C