зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1368079 - Enable the diagnostic assert when MOZ_DEV_EDITION is set r=glandium
MozReview-Commit-ID: 1f6Kwne6zYf --HG-- extra : rebase_source : 14f3697fe4ad7dcd356fdc1424ffc62f4ea9897b
This commit is contained in:
Родитель
51bd2623bb
Коммит
6ef28ca31d
|
@ -447,14 +447,14 @@ struct AssertionConditionType
|
||||||
# define MOZ_ASSERT(...) do { } while (0)
|
# define MOZ_ASSERT(...) do { } while (0)
|
||||||
#endif /* DEBUG */
|
#endif /* DEBUG */
|
||||||
|
|
||||||
#ifdef RELEASE_OR_BETA
|
#if defined(NIGHTLY_BUILD) || defined(MOZ_DEV_EDITION)
|
||||||
|
# define MOZ_DIAGNOSTIC_ASSERT MOZ_RELEASE_ASSERT
|
||||||
|
# define MOZ_DIAGNOSTIC_ASSERT_ENABLED 1
|
||||||
|
#else // RELEASE_OR_BETA
|
||||||
# define MOZ_DIAGNOSTIC_ASSERT MOZ_ASSERT
|
# define MOZ_DIAGNOSTIC_ASSERT MOZ_ASSERT
|
||||||
# ifdef DEBUG
|
# ifdef DEBUG
|
||||||
# define MOZ_DIAGNOSTIC_ASSERT_ENABLED 1
|
# define MOZ_DIAGNOSTIC_ASSERT_ENABLED 1
|
||||||
# endif
|
# endif
|
||||||
#else
|
|
||||||
# define MOZ_DIAGNOSTIC_ASSERT MOZ_RELEASE_ASSERT
|
|
||||||
# define MOZ_DIAGNOSTIC_ASSERT_ENABLED 1
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
/*
|
/*
|
||||||
|
|
Загрузка…
Ссылка в новой задаче