wxUSE_CRASHREPORT and wxUSE_STACKWALKER can't be used if wxUSE_ON_FATAL_EXCEPTION == 0
git-svn-id: https://svn.wxwidgets.org/svn/wx/wxWidgets/trunk@31452 c3d73ce0-8a6f-49c7-b76d-6d57e0e08775
This commit is contained in:
parent
738cadd897
commit
7efaa702da
@ -1144,6 +1144,27 @@
|
||||
# endif
|
||||
# endif
|
||||
# endif /* wxUSE_DYNAMIC_LOADER */
|
||||
|
||||
# if !wxUSE_ON_FATAL_EXCEPTION
|
||||
# if wxUSE_CRASHREPORT
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_CRASHREPORT requires wxUSE_ON_FATAL_EXCEPTION"
|
||||
# else
|
||||
# undef wxUSE_CRASHREPORT
|
||||
# define wxUSE_CRASHREPORT 0
|
||||
# endif
|
||||
# endif
|
||||
|
||||
# if wxUSE_STACKWALKER
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxUSE_STACKWALKER requires wxUSE_ON_FATAL_EXCEPTION"
|
||||
# else
|
||||
# undef wxUSE_STACKWALKER
|
||||
# define wxUSE_STACKWALKER 0
|
||||
# endif
|
||||
# endif
|
||||
# endif /* wxUSE_ON_FATAL_EXCEPTION */
|
||||
|
||||
#endif /* wxMSW */
|
||||
|
||||
/* wxMAC-specific dependencies */
|
||||
|
Loading…
Reference in New Issue
Block a user