From 232b500427c010ce5b692f5b3c38454e9749c068 Mon Sep 17 00:00:00 2001 From: Francois Gouget Date: Wed, 19 Sep 2001 22:24:54 +0000 Subject: [PATCH] Remove duplicate definition of _tmain. Add definitions for __targv and _tenviron. --- include/tchar.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/include/tchar.h b/include/tchar.h index 4685af033ce..d5ab549c25d 100644 --- a/include/tchar.h +++ b/include/tchar.h @@ -41,6 +41,7 @@ extern "C" { #define WINE_tchar_tclen(a) (1) #define WINE_tchar_tccpy(a,b) do { *(a)=*(b); } while (0) +#define __targv WINE_tchar_routine(__argv, __argv, __wargv) #define _fgettc WINE_tchar_routine(fgetc, fgetc, fgetwc) #define _fgettchar WINE_tchar_routine(fgetchar, fgetchar, _fgetwchar) #define _fgetts WINE_tchar_routine(fgets, fgets, fgetws) @@ -72,7 +73,6 @@ extern "C" { #define _puttc WINE_tchar_routine(putc, putc, putwc) #define _puttchar WINE_tchar_routine(putchar, putchar, putwchar) #define _putts WINE_tchar_routine(puts, puts, putws) -#define _tmain WINE_tchar_routine(main, main, wmain) #define _sntprintf WINE_tchar_routine(sprintf, sprintf, swprintf) #define _stprintf WINE_tchar_routine(sprintf, sprintf, swprintf) #define _stscanf WINE_tchar_routine(sscanf, sscanf, swscanf) @@ -128,6 +128,7 @@ extern "C" { #define _tcsupr WINE_tchar_routine(_strupr, _mbsupr, _wcsupr) #define _tcsxfrm WINE_tchar_routine(strxfrm, strxfrm, wcsxfrm) #define _tctime WINE_tchar_routine(ctime, ctime, _wctime) +#define _tenviron WINE_tchar_routine(_environ, _environ, _wenviron) #define _texecl WINE_tchar_routine(_execl, _execl, _wexecl) #define _texecle WINE_tchar_routine(_execle, _execle, _wexecle) #define _texeclp WINE_tchar_routine(_execlp, _execlp, _wexeclp)