Detect wxNO_RTTI automatically for clang too
This has been already done for gcc and MSVC, add clang-specific check as well.
This commit is contained in:
parent
1cdc0acfbe
commit
6e949961ef
@ -611,7 +611,11 @@
|
||||
Only 4.3 defines __GXX_RTTI by default so its absence is not an
|
||||
indication of disabled RTTI with the previous versions.
|
||||
*/
|
||||
# if wxCHECK_GCC_VERSION(4, 3)
|
||||
# if defined(__clang__)
|
||||
# if !__has_feature(cxx_rtti)
|
||||
# define wxNO_RTTI
|
||||
# endif
|
||||
# elif wxCHECK_GCC_VERSION(4, 3)
|
||||
# ifndef __GXX_RTTI
|
||||
# define wxNO_RTTI
|
||||
# endif
|
||||
|
Loading…
Reference in New Issue
Block a user