diff options
author | Remi Collet <fedora@famillecollet.com> | 2010-07-28 10:39:46 +0200 |
---|---|---|
committer | Remi Collet <fedora@famillecollet.com> | 2010-07-28 10:39:46 +0200 |
commit | 8b8c4b4231bf55eac3a0fbb4d6201f3d582dd684 (patch) | |
tree | 42aa47762193792d059d014f31ce10c1d5953b38 /firefox4-build-throw.patch | |
parent | e68538cc7dfe238a3cf6b43ded8cb6a2832bc5fa (diff) |
First Firefox 4.0 work
Diffstat (limited to 'firefox4-build-throw.patch')
-rw-r--r-- | firefox4-build-throw.patch | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/firefox4-build-throw.patch b/firefox4-build-throw.patch new file mode 100644 index 0000000..a25f7ef --- /dev/null +++ b/firefox4-build-throw.patch @@ -0,0 +1,12 @@ +diff -up mozilla-central/memory/mozalloc/mozalloc.h.throw mozilla-central/memory/mozalloc/mozalloc.h +--- mozilla-central/memory/mozalloc/mozalloc.h.throw 2010-07-28 09:25:12.596150733 +0200 ++++ mozilla-central/memory/mozalloc/mozalloc.h 2010-07-28 09:25:28.325150319 +0200 +@@ -214,7 +214,7 @@ MOZALLOC_EXPORT void* moz_valloc(size_t + #define MOZALLOC_THROW_IF_HAS_EXCEPTIONS throw() + #endif + +-#ifdef MOZ_CPP_EXCEPTIONS ++#if 1 + #define MOZALLOC_THROW_BAD_ALLOC throw(std::bad_alloc) + #else + #define MOZALLOC_THROW_BAD_ALLOC MOZALLOC_THROW_IF_HAS_EXCEPTIONS |