summaryrefslogtreecommitdiff
path: root/sal/osl
diff options
context:
space:
mode:
authorDavid Tardon <dtardon@redhat.com>2012-03-07 13:06:12 +0100
committerDavid Tardon <dtardon@redhat.com>2012-03-07 14:01:31 +0100
commite1eae3267b7775be0cbe719e3a055de3ee343f92 (patch)
treefe45bb5002c5636cae458c8ce3712f67075743b0 /sal/osl
parent5c1e188a55ef64eeec54c610a1e3e6e60332e1c2 (diff)
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.
Diffstat (limited to 'sal/osl')
-rw-r--r--sal/osl/w32/signal.cxx3
1 files changed, 0 insertions, 3 deletions
diff --git a/sal/osl/w32/signal.cxx b/sal/osl/w32/signal.cxx
index 2547a62ef6fb..c7a32487a4f4 100644
--- a/sal/osl/w32/signal.cxx
+++ b/sal/osl/w32/signal.cxx
@@ -68,9 +68,6 @@ static sal_Bool InitSignal(void)
hFaultRep = LoadLibrary( "faultrep.dll" );
if ( hFaultRep )
{
-#ifdef __MINGW32__
-typedef BOOL (WINAPI *pfn_ADDEREXCLUDEDAPPLICATIONW)(LPCWSTR);
-#endif
pfn_ADDEREXCLUDEDAPPLICATIONW pfn = (pfn_ADDEREXCLUDEDAPPLICATIONW)GetProcAddress( hFaultRep, "AddERExcludedApplicationW" );
if ( pfn )
pfn( L"SOFFICE.EXE" );