X-Git-Url: https://git.saurik.com/wxWidgets.git/blobdiff_plain/2b1d737b3e9413217302cde932cbc3af91d79024..8ddd9176a46065ab74d6ced1ed480e5affb4e1e2:/src/common/debugrpt.cpp 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());