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;