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:
Ehsan Akhgari 2015-01-12 15:41:29 -05:00
parent 1daf9e4270
commit 9bdf153c1c

View File

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