Kaydet (Commit) e1eae326 authored tarafından David Tardon's avatar David Tardon

WaE: declaration of '...' shadows a global declaration

pfn_ADDEREXCLUDEDAPPLICATIONW has been defined in mingw-w64 headers
since the very beginning. I suppose this was only relevant for mingw32,
which we do not support anymore.
üst 5c1e188a
...@@ -68,9 +68,6 @@ static sal_Bool InitSignal(void) ...@@ -68,9 +68,6 @@ static sal_Bool InitSignal(void)
hFaultRep = LoadLibrary( "faultrep.dll" ); hFaultRep = LoadLibrary( "faultrep.dll" );
if ( hFaultRep ) if ( hFaultRep )
{ {
#ifdef __MINGW32__
typedef BOOL (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
#endif
pfn_ADDEREXCLUDEDAPPLICATIONW pfn = (pfn_ADDEREXCLUDEDAPPLICATIONW)GetProcAddress( hFaultRep, "AddERExcludedApplicationW" ); pfn_ADDEREXCLUDEDAPPLICATIONW pfn = (pfn_ADDEREXCLUDEDAPPLICATIONW)GetProcAddress( hFaultRep, "AddERExcludedApplicationW" );
if ( pfn ) if ( pfn )
pfn( L"SOFFICE.EXE" ); pfn( L"SOFFICE.EXE" );
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment