diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2002-01-25 03:00:36 +0000 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2002-01-25 03:00:36 +0000 |
commit | 159743c26488f1564fdc37778c505c0c2142cea7 (patch) | |
tree | 16b8638872c8634f0ca0be36d1d3a56c8fe5e82a /winsup | |
parent | d554b253b56a2efe518928b6f8a5dd553aaf7ab0 (diff) | |
download | newlib-159743c26488f1564fdc37778c505c0c2142cea7.zip newlib-159743c26488f1564fdc37778c505c0c2142cea7.tar.gz newlib-159743c26488f1564fdc37778c505c0c2142cea7.tar.bz2 |
* include/tchar.h (_TCHAR): Add typedefs.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 4 | ||||
-rw-r--r-- | winsup/mingw/include/tchar.h | 2 |
2 files changed, 6 insertions, 0 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 7ef6201..b4a1599 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,3 +1,7 @@ +2002-01-25 Danny Smith <dannysmith@users.sourceforge.net> + + * include/tchar.h (_TCHAR): Add typedefs. + 2001-12-07 Earnie Boyd <earnie@users.sf.net> * Makefile.in: Increment VERSION. diff --git a/winsup/mingw/include/tchar.h b/winsup/mingw/include/tchar.h index 6d67915..a4aee5a 100644 --- a/winsup/mingw/include/tchar.h +++ b/winsup/mingw/include/tchar.h @@ -55,6 +55,7 @@ #ifndef _TCHAR_DEFINED #ifndef RC_INVOKED typedef wchar_t TCHAR; +typedef wchar_t _TCHAR #endif /* Not RC_INVOKED */ #define _TCHAR_DEFINED #endif @@ -209,6 +210,7 @@ typedef wchar_t TCHAR; #ifndef _TCHAR_DEFINED #ifndef RC_INVOKED typedef char TCHAR; +typedef char _TCHAR; #endif #define _TCHAR_DEFINED #endif |