зеркало из https://github.com/mozilla/gecko-dev.git
Bug 1720641 - Don't include mozalloc.h from the cmath wrapper. r=firefox-build-system-reviewers,andi
Differential Revision: https://phabricator.services.mozilla.com/D119956
This commit is contained in:
Родитель
d7d1a498e5
Коммит
b3a25bc860
|
@ -27,15 +27,19 @@
|
|||
// # define _GLIBCXX_DEBUG 1
|
||||
#endif
|
||||
|
||||
// Don't include mozalloc.h for cstdlib, type_traits, limits and iosfwd.
|
||||
// See bug 1245076 (cstdlib), bug 1594027 (type_traits, limits) and
|
||||
// bug 1694575 (iosfwd).
|
||||
// Don't include mozalloc.h for cstdlib, cmath, type_traits, limits and iosfwd.
|
||||
// See bug 1245076 (cstdlib), bug 1720641 (cmath), bug 1594027 (type_traits,
|
||||
// limits) and bug 1694575 (iosfwd).
|
||||
// Please be careful when adding more exceptions, especially regarding
|
||||
// the header not directly or indirectly including <new>.
|
||||
#ifndef moz_dont_include_mozalloc_for_cstdlib
|
||||
# define moz_dont_include_mozalloc_for_cstdlib
|
||||
#endif
|
||||
|
||||
#ifndef moz_dont_include_mozalloc_for_cmath
|
||||
# define moz_dont_include_mozalloc_for_cmath
|
||||
#endif
|
||||
|
||||
#ifndef moz_dont_include_mozalloc_for_type_traits
|
||||
# define moz_dont_include_mozalloc_for_type_traits
|
||||
#endif
|
||||
|
|
Загрузка…
Ссылка в новой задаче