tchar.h fixes
Francois Gouget
fgouget at free.fr
Wed Sep 19 17:00:13 CDT 2001
The previous attempt did not go through according to
postmaster at corel.ics.
---------- Forwarded message ----------
Date: Tue, 18 Sep 2001 00:41:08 -0700 (PDT)
From: Francois Gouget <fgouget at free.fr>
To: wine-patches at winehq.com
Subject: tchar.h fixes
Changelog:
* include/tchar.h
Remove duplicate definition of _tmain
Add definitions for __targv and _tenviron
--
Francois Gouget fgouget at free.fr http://fgouget.free.fr/
Avoid the Gates of Hell - use Linux.
-------------- next part --------------
Index: include/tchar.h
===================================================================
RCS file: /home/wine/wine/include/tchar.h,v
retrieving revision 1.15
diff -u -r1.15 tchar.h
--- include/tchar.h 2001/04/23 18:23:00 1.15
+++ include/tchar.h 2001/09/18 00:47:57
@@ -41,6 +41,7 @@
#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 @@
#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 @@
#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)
More information about the wine-patches
mailing list