2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
+ * include/tchar.h (__TEXT): Make same as define in
+ w32api/include/winnt.h.
+
+2002-04-20 Danny Smith <dannysmith@users.sourceforge.net>
+
* include/tchar.h (_tputenv): Add UNICODE mappings.
(_tsearchenv): Likewise.
(_tmakepath): Likewise.
* macro within your programs. It's name and function could change without
* notice.
*/
-#define __TEXT(x) L##x
+#define __TEXT(q) L##q
/* for porting from other Windows compilers */
#if 0 // no wide startup module
#define _tfindnext _wfindnext
#define _tfopen _wfopen
#define _tgetenv _wgetenv
+#define _tputenv _wputenv
+#define _tsearchenv _wsearchenv
+#define _tmakepath _wmakepath
+#define _tsplitpath _wsplitpath
+#define _tfullpath _wfullpath
#define _tmktemp _wmktemp
#define _topen _wopen
#define _tremove _wremove
* macro within your programs. It's name and function could change without
* notice.
*/
-#define __TEXT(x) x
+#define __TEXT(q) q
/* for porting from other Windows compilers */
#define _tmain main
#define _fputts fputs
#define _tfopen fopen
#define _tgetenv getenv
+#define _tputenv _putenv
+#define _tsearchenv _searchenv
+#define _tmakepath _makepath
+#define _tsplitpath _splitpath
+#define _tfullpath _fullpath
#define _gettc getc
#define _getts gets
#define _puttc putc