From 82de79f93f6317e2d05a412e3334ff3da52beebc Mon Sep 17 00:00:00 2001 From: "dougt%netscape.com" Date: Tue, 2 Apr 2002 03:02:11 +0000 Subject: [PATCH] Adds MOZ_NO_REMOTE env var support to windows build. Setting this allows you to debug while another build is running. r=darin, sr=alec, a=asa, bug 131805 git-svn-id: svn://10.0.0.236/trunk@117894 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp b/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp index 3ccefdfbdc7..0e4c8cf9bfe 100644 --- a/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp +++ b/mozilla/xpfe/bootstrap/nsNativeAppSupportWin.cpp @@ -939,6 +939,12 @@ nsNativeAppSupportWin::Start( PRBool *aResult ) { NS_ENSURE_ARG( aResult ); NS_ENSURE_TRUE( mInstance == 0, NS_ERROR_NOT_INITIALIZED ); + if (getenv("MOZ_NO_REMOTE")) + { + *aResult = PR_TRUE; + return NS_OK; + } + nsresult rv = NS_ERROR_FAILURE; *aResult = PR_FALSE;