Avoid macro re-definition warning for QT_NO_EXCEPTIONS
Change-Id: I0c4b2d00dd567af17f22b733b93032ff1056fcbd Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
8dd66f42e8
commit
98ac56676a
@ -505,7 +505,9 @@
|
|||||||
#ifdef Q_CC_CLANG
|
#ifdef Q_CC_CLANG
|
||||||
/* General C++ features */
|
/* General C++ features */
|
||||||
# if !__has_feature(cxx_exceptions)
|
# if !__has_feature(cxx_exceptions)
|
||||||
# define QT_NO_EXCEPTIONS
|
# ifndef QT_NO_EXCEPTIONS
|
||||||
|
# define QT_NO_EXCEPTIONS
|
||||||
|
# endif
|
||||||
# endif
|
# endif
|
||||||
# if !__has_feature(cxx_rtti)
|
# if !__has_feature(cxx_rtti)
|
||||||
# define QT_NO_RTTI
|
# define QT_NO_RTTI
|
||||||
|
Loading…
Reference in New Issue
Block a user