pkgsrc/mail/thunderbird68/patches/patch-config_gcc-stl-wrapper.template.h
ryoon 4aea1c42a6 mail/thunderbird68: import thunderbird68-68.12.0
Thunderbird is a free email, news, and chat application with support for
add-ons, derived from the Mozilla Firefox web browser.
2020-09-03 20:22:25 +00:00

29 lines
990 B
C

$NetBSD: patch-config_gcc-stl-wrapper.template.h,v 1.1 2020/09/03 20:22:26 ryoon Exp $
--- config/gcc-stl-wrapper.template.h.orig 2020-03-10 21:02:17.000000000 +0000
+++ config/gcc-stl-wrapper.template.h
@@ -28,14 +28,14 @@
#endif
// Don't include mozalloc for cstdlib. See bug 1245076.
-#ifndef moz_dont_include_mozalloc_for_cstdlib
-# define moz_dont_include_mozalloc_for_cstdlib
+#ifndef moz_dont_include_mozalloc_for_${HEADER}
+# define moz_dont_include_mozalloc_for_${HEADER}
#endif
// Include mozalloc after the STL header and all other headers it includes
// have been preprocessed.
#if !defined(MOZ_INCLUDE_MOZALLOC_H) && \
- !defined(moz_dont_include_mozalloc_for_${HEADER})
+ !defined(moz_dont_include_mozalloc_for_cstdlib)
# define MOZ_INCLUDE_MOZALLOC_H
# define MOZ_INCLUDE_MOZALLOC_H_FROM_${HEADER}
#endif
@@ -64,4 +64,6 @@
# include "mozilla/throw_gcc.h"
#endif
+#undef moz_dont_include_mzalloc_for_${HEADER}
+
#endif // if mozilla_${HEADER}_h