From 2e96098220da76e5e8c02c9960d1e25234f96e3b Mon Sep 17 00:00:00 2001 From: Vadim Zeitlin Date: Sun, 29 Oct 2006 23:42:16 +0000 Subject: [PATCH] Borland needs dummy return in wxSEH_HANDLE as well git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@42690 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775 --- include/wx/msw/seh.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/wx/msw/seh.h b/include/wx/msw/seh.h index b9d26b7b67..caab1a4370 100644 --- a/include/wx/msw/seh.h +++ b/include/wx/msw/seh.h @@ -19,7 +19,7 @@ extern unsigned long wxGlobalSEHandler(EXCEPTION_POINTERS *pExcPtrs); // helper macro for wxSEH_HANDLE -#if defined(__VISUALC__) && (__VISUALC__ <= 1200) +#if defined(__BORLANDC__) || (defined(__VISUALC__) && (__VISUALC__ <= 1200)) // some compilers don't understand that this code is unreachable and warn // about no value being returned from the function without it, so calm them // down -- 2.49.0