Changes wine_main to main to properly build on all platforms.

This commit is contained in:
Steven Edwards 2002-01-29 02:59:22 +00:00 committed by Alexandre Julliard
parent 37d960faee
commit ba7ccc4cc6
4 changed files with 5 additions and 5 deletions

View File

@ -40,7 +40,8 @@ show_last_error(void)
} }
int int
wine_main(int argc, char ** argv) main(int argc, char ** argv)
{ {
BOOL result; BOOL result;
OSVERSIONINFO oiv; OSVERSIONINFO oiv;

View File

@ -1,7 +1,7 @@
name osversioncheck name osversioncheck
mode cuiexe mode cuiexe
type win32 type win32
init wine_main init main
import kernel32.dll import kernel32.dll
import ntdll.dll import ntdll.dll

View File

@ -1,7 +1,7 @@
name wcmd name wcmd
mode cuiexe mode cuiexe
type win32 type win32
init wine_main init main
rsrc wcmdrc.res rsrc wcmdrc.res
import shell32.dll import shell32.dll

View File

@ -33,8 +33,7 @@ BATCH_CONTEXT *context = NULL;
* winmain(). * winmain().
*/ */
int main (int argc, char *argv[]) {
int wine_main (int argc, char *argv[]) {
char string[1024], args[MAX_PATH], param[MAX_PATH]; char string[1024], args[MAX_PATH], param[MAX_PATH];
int status, i; int status, i;