Fix rasdlg on MingW builds. Bug 203300, patch by jonwil@tpgi.com.au (Jonathan

Wilson), r=darin, sr=bzbarsky, a=sspitzer
This commit is contained in:
bzbarsky%mit.edu 2003-04-27 01:38:42 +00:00
parent bc11d075ab
commit ecba98ed60
2 changed files with 0 additions and 6 deletions

View File

@ -75,9 +75,7 @@ else
ifeq ($(MOZ_WIDGET_TOOLKIT),windows)
CPPSRCS += nsURLHelperWin.cpp
CPPSRCS += nsNativeConnectionHelper.cpp
ifndef GNU_CC
CPPSRCS += nsAutodialWin.cpp
endif
else
CPPSRCS += nsURLHelperUnix.cpp
endif

View File

@ -37,9 +37,7 @@
* ***** END LICENSE BLOCK ***** */
#include "nsNativeConnectionHelper.h"
#ifndef __MINGW32__
#include "nsAutodialWin.h"
#endif
//-----------------------------------------------------------------------------
// API typically invoked on the socket transport thread
//-----------------------------------------------------------------------------
@ -48,12 +46,10 @@
PRBool
nsNativeConnectionHelper::OnConnectionFailed(const char* hostName)
{
#ifndef __MINGW32__
nsRASAutodial autodial;
if (autodial.ShouldDialOnNetworkError())
return NS_SUCCEEDED(autodial.DialDefault(hostName));
else
#endif
return PR_FALSE;
}