From: Dimitri Schoolwerth Date: Sun, 14 Dec 2003 04:01:43 +0000 (+0000) Subject: Fixed undeclared identifier compile error. X-Git-Url: https://git.saurik.com/wxWidgets.git/commitdiff_plain/57ba8fb85809cf56dc3a8b18428488a6a21276b6 Fixed undeclared identifier compile error. git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@24830 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- diff --git a/src/msw/crashrpt.cpp b/src/msw/crashrpt.cpp index 26a9abb711..7762c9848a 100644 --- a/src/msw/crashrpt.cpp +++ b/src/msw/crashrpt.cpp @@ -1089,7 +1089,13 @@ wxString wxCrashReportImpl::GetExceptionString(DWORD dwCode) #endif // wxUSE_DBGHELP -bool wxCrashReportImpl::Generate(int WXUNUSED(flags)) +bool wxCrashReportImpl::Generate( +#if wxUSE_DBGHELP + int flags +#else + int WXUNUSED(flags) +#endif +) { if ( m_hFile == INVALID_HANDLE_VALUE ) return false;