зеркало из https://github.com/mozilla/pjs.git
Minor fixups... not sure why we needed unistd.h here, but Windows doesn't have it.
This commit is contained in:
Родитель
0b6d807330
Коммит
e34161a848
|
@ -68,6 +68,8 @@ include $(topsrcdir)/config/config.mk
|
|||
include $(topsrcdir)/ipc/chromium/chromium-config.mk
|
||||
|
||||
ifdef _MSC_VER
|
||||
LOCAL_INCLUDES += -I$(topsrcdir)/toolkit/xre
|
||||
|
||||
# Always enter a Windows program through wmain, whether or not we're
|
||||
# a console application.
|
||||
ifdef WINCE
|
||||
|
|
|
@ -40,11 +40,6 @@
|
|||
#include "nsXPCOM.h"
|
||||
#include "nsXULAppAPI.h"
|
||||
|
||||
|
||||
// FIXME/cjones testing
|
||||
#include <unistd.h>
|
||||
|
||||
|
||||
#ifdef XP_WIN
|
||||
#include <windows.h>
|
||||
// we want a wmain entry point
|
||||
|
@ -64,4 +59,6 @@ main(int argc, char* argv[])
|
|||
ScopedLogging log;
|
||||
nsresult rv = XRE_InitChildProcess(argc, argv, "TabThread");
|
||||
NS_ENSURE_SUCCESS(rv, 1);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
|
Загрузка…
Ссылка в новой задаче