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
wine_main(int argc, char ** argv)
main(int argc, char ** argv)
{
BOOL result;
OSVERSIONINFO oiv;

View file

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

View file

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

View file

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