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
This commit is contained in:
Vadim Zeitlin 2006-10-29 23:42:16 +00:00
parent d3b647c2df
commit 2e96098220

View File

@ -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