mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-12-02 01:48:05 +00: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
7943b46da5
commit
b1503a9cf4
@ -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