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:
Stephen Kelly 2012-05-02 13:14:07 +02:00 committed by Qt by Nokia
parent 8dd66f42e8
commit 98ac56676a

View File

@ -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