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:
authorJeff Johnston <jjohnstn@redhat.com>2013-06-27 01:34:16 +0400
committerJeff Johnston <jjohnstn@redhat.com>2013-06-27 01:34:16 +0400
commit27ad840ea53a4a1c25497d71c2df55f1cf4d25f8 (patch)
tree7ad588cc82f02d8639474c9449ea2c6223ab2f92 /newlib/libc/include/wchar.h
parent733b554b20a4843eaff90448cb694f3da1d1d042 (diff)
2013-06-26 Jeff Johnston <jjohnstn@redhat.com>
* libc/include/stdio.h: Specify std streams always in terms of _REENT. * libc/include/wchar.h: Ditto. * libc/include/sys/reent.h: Remove _RENT_ONLY check around setting of _REENT macro.
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