зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1120622 - Define MOZ_SUPPORT_ASSERT_CONDITION_TYPE_VALIDATION for all gcc versions now that we don't support 4.4 any more; r=froydnj
This commit is contained in:
Родитель
5d95da7070
Коммит
497a2e8e51
|
@ -302,13 +302,8 @@ __declspec(noreturn) __inline void MOZ_NoReturn() {}
|
|||
*/
|
||||
|
||||
#ifdef __cplusplus
|
||||
# if defined(__clang__)
|
||||
# if defined(__clang__) || defined(__GNUC__)
|
||||
# define MOZ_SUPPORT_ASSERT_CONDITION_TYPE_VALIDATION
|
||||
# elif defined(__GNUC__)
|
||||
// B2G GCC 4.4 has insufficient decltype support.
|
||||
# if MOZ_GCC_VERSION_AT_LEAST(4, 5, 0)
|
||||
# define MOZ_SUPPORT_ASSERT_CONDITION_TYPE_VALIDATION
|
||||
# endif
|
||||
# elif defined(_MSC_VER)
|
||||
// Disabled for now because of insufficient decltype support. Bug 1004028.
|
||||
# endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче