mirror of
https://gitlab.winehq.org/wine/wine-gecko.git
synced 2024-09-13 09:24:08 -07:00
bug 503137 - xpcshell.exe needs an --environ cli option to work with xpcshell unittests on windows mobile r+sr=mrbkap
This commit is contained in:
parent
67ebdb3765
commit
14569d27f4
@ -64,7 +64,8 @@ NSDISTMODE = copy
|
||||
|
||||
ifdef _MSC_VER
|
||||
ifdef WINCE
|
||||
WIN32_EXE_LDFLAGS += -ENTRY:mainACRTStartup
|
||||
WIN32_EXE_LDFLAGS += -ENTRY:mainWCRTStartup
|
||||
LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre/
|
||||
endif
|
||||
endif
|
||||
|
||||
|
@ -1565,9 +1565,19 @@ GetCurrentWorkingDirectory(nsAString& workingDirectory)
|
||||
return true;
|
||||
}
|
||||
|
||||
#ifdef WINCE
|
||||
#include "nsWindowsWMain.cpp"
|
||||
#endif
|
||||
|
||||
int
|
||||
#ifndef WINCE
|
||||
main(int argc, char **argv, char **envp)
|
||||
{
|
||||
#else
|
||||
main(int argc, char **argv)
|
||||
{
|
||||
char **envp = 0;
|
||||
#endif
|
||||
#ifdef XP_MACOSX
|
||||
InitAutoreleasePool();
|
||||
#endif
|
||||
|
Loading…
Reference in New Issue
Block a user