X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b1d737b3e9413217302cde932cbc3af91d79024..ce76f779c6cfd2155de825021cc645572fe43625:/src/common/debugrpt.cpp?ds=sidebyside diff --git a/src/common/debugrpt.cpp b/src/common/debugrpt.cpp index 96ccc60012..2f5ba823e3 100644 --- a/src/common/debugrpt.cpp +++ b/src/common/debugrpt.cpp @@ -224,7 +224,12 @@ wxDebugReport::~wxDebugReport() if ( !m_dir.empty() ) { + // Temp fix: what should this be? eVC++ doesn't like wxRmDir +#ifdef __WXWINCE__ + if ( wxRmdir(m_dir.fn_str()) != 0 ) +#else if ( wxRmDir(m_dir.fn_str()) != 0 ) +#endif { wxLogSysError(_("Failed to clean up debug report directory \"%s\""), m_dir.c_str());