diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-18 20:48:57 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-06-18 20:48:57 +0000 |
commit | 97858a2641bdd1d81e1ae0844f1d455afd7a0602 (patch) | |
tree | a0f27ffa96375b3cc425c1ccd49fb8e0b9e5a3a9 /winsup/mingw | |
parent | af1c257a9b6453c9364fa3bf301fb236fe90e664 (diff) | |
download | newlib-97858a2641bdd1d81e1ae0844f1d455afd7a0602.zip newlib-97858a2641bdd1d81e1ae0844f1d455afd7a0602.tar.gz newlib-97858a2641bdd1d81e1ae0844f1d455afd7a0602.tar.bz2 |
* include/tchar.h (_getts): Define as _getws for _UNICODE.
(_putts): Define as _putws for _UNICODE.
Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report.
Diffstat (limited to 'winsup/mingw')
-rw-r--r-- | winsup/mingw/ChangeLog | 6 | ||||
-rw-r--r-- | winsup/mingw/include/tchar.h | 4 |
2 files changed, 8 insertions, 2 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 0692635..35e99f3 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,9 @@ +2002-06-19 Danny Smith <dannysmith@users.sourceforge.net> + + * include/tchar.h (_getts): Define as _getws for _UNICODE. + (_putts): Define as _putws for _UNICODE. + Thanks to: Tomasz Pona <cochisek@poczta.onet.pl> for report. + 2002-06-18 Danny Smith <dannysmith@users.sourceforge.net> * include/float.h: #include_next<float.h> before header guard. diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h index 7ab12c2..6684d6b 100644 --- a/winsup/mingw/include/tchar.h +++ b/winsup/mingw/include/tchar.h @@ -98,9 +98,9 @@ typedef wchar_t _TCHAR; #define _fputtchar _fputwchar #define _fputts fputws #define _gettc getwc -#define _getts getws +#define _getts _getws #define _puttc putwc -#define _putts putws +#define _putts _putws #define _ungettc ungetwc #define _tcstod wcstod #define _tcstol wcstol |