Changes wine_main to main to properly build on all platforms.
This commit is contained in:
parent
37d960faee
commit
ba7ccc4cc6
|
@ -40,7 +40,8 @@ show_last_error(void)
|
|||
}
|
||||
|
||||
int
|
||||
wine_main(int argc, char ** argv)
|
||||
main(int argc, char ** argv)
|
||||
|
||||
{
|
||||
BOOL result;
|
||||
OSVERSIONINFO oiv;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name osversioncheck
|
||||
mode cuiexe
|
||||
type win32
|
||||
init wine_main
|
||||
init main
|
||||
|
||||
import kernel32.dll
|
||||
import ntdll.dll
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
name wcmd
|
||||
mode cuiexe
|
||||
type win32
|
||||
init wine_main
|
||||
init main
|
||||
rsrc wcmdrc.res
|
||||
|
||||
import shell32.dll
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue