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