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
|
int
|
||||||
wine_main(int argc, char ** argv)
|
main(int argc, char ** argv)
|
||||||
|
|
||||||
{
|
{
|
||||||
BOOL result;
|
BOOL result;
|
||||||
OSVERSIONINFO oiv;
|
OSVERSIONINFO oiv;
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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
|
||||||
|
|
|
@ -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;
|
||||||
|
|
Loading…
Reference in New Issue