Skip to content

Commit

Permalink
Bug 1120622 - Define MOZ_SUPPORT_ASSERT_CONDITION_TYPE_VALIDATION for…
Browse files Browse the repository at this point in the history
… all gcc versions now that we don't support 4.4 any more; r=froydnj
  • Loading branch information
ehsan committed Jan 12, 2015
1 parent 983e05c commit 8aadb7b
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions mfbt/Assertions.h
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit 8aadb7b

Please sign in to comment.