Check for wxUSE_MEDIACTRL dependency on wxUSE_LONLONG.
wxMediaCtrl requires wxLongLong, so check that wxUSE_LONLONG is set if wxUSE_MEDIACTRL is. See #16939.
This commit is contained in:
parent
0091246427
commit
2e26d30bcc
1 changed files with 11 additions and 0 deletions
|
|
@ -2247,6 +2247,17 @@
|
|||
# endif
|
||||
#endif /* wxUSE_PREFERENCES_EDITOR */
|
||||
|
||||
#if wxUSE_MEDIACTRL
|
||||
# if !wxUSE_LONGLONG
|
||||
# ifdef wxABORT_ON_CONFIG_ERROR
|
||||
# error "wxMediaCtrl requires wxUSE_LONLONG"
|
||||
# else
|
||||
# undef wxUSE_LONLONG
|
||||
# define wxUSE_LONLONG 1
|
||||
# endif
|
||||
# endif
|
||||
#endif /* wxUSE_MEDIACTRL */
|
||||
|
||||
#endif /* wxUSE_GUI */
|
||||
|
||||
#endif /* _WX_CHKCONF_H_ */
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue