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:
committed by
Vadim Zeitlin
parent
0091246427
commit
2e26d30bcc
@@ -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_ */
|
||||
|
Reference in New Issue
Block a user