From 8c4e2f1dda7d716e94d0bfb2c0c30acebcf1c30d Mon Sep 17 00:00:00 2001 From: "dougt%meer.net" Date: Fri, 2 Sep 2005 18:00:23 +0000 Subject: [PATCH] WinCE only. ShellExecute is now in the shunt lib, so I can remove a WINCE #define. Also, for process creation WinCE uses NSPR like a good child.... i wonder why the other platforms don't as well. git-svn-id: svn://10.0.0.236/trunk@179552 18797224-902f-48f8-a5cc-f745e15eee43 --- mozilla/xpcom/io/nsLocalFileWin.cpp | 2 -- mozilla/xpcom/threads/nsProcessCommon.cpp | 2 +- 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/mozilla/xpcom/io/nsLocalFileWin.cpp b/mozilla/xpcom/io/nsLocalFileWin.cpp index 6ab4ada5e5a..84c05767ee6 100644 --- a/mozilla/xpcom/io/nsLocalFileWin.cpp +++ b/mozilla/xpcom/io/nsLocalFileWin.cpp @@ -2345,7 +2345,6 @@ nsLocalFile::Reveal() NS_IMETHODIMP nsLocalFile::Launch() { -#ifndef WINCE const nsCString &path = mWorkingPath; // use the app registry name to launch a shell execute.... @@ -2386,7 +2385,6 @@ nsLocalFile::Launch() return NS_ERROR_FILE_EXECUTION_FAILED; } } -#endif return NS_OK; } diff --git a/mozilla/xpcom/threads/nsProcessCommon.cpp b/mozilla/xpcom/threads/nsProcessCommon.cpp index 44e902d5fc5..6e5fa0207fe 100644 --- a/mozilla/xpcom/threads/nsProcessCommon.cpp +++ b/mozilla/xpcom/threads/nsProcessCommon.cpp @@ -236,7 +236,7 @@ nsProcess::Run(PRBool blocking, const char **args, PRUint32 count, // null terminate the array my_argv[count+1] = NULL; -#if defined(XP_WIN) +#if defined(XP_WIN) && !defined (WINCE) /* wince uses nspr */ STARTUPINFO startupInfo; PROCESS_INFORMATION procInfo; BOOL retVal;