aboutsummaryrefslogtreecommitdiffstats
path: root/testing/seamonkey/fix-hunspell.patch
blob: 9eb4284e597f247a542d6c2ef4e7c5df51a9361f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
--- seamonkey-2.46/mozilla/extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h.orig
+++ seamonkey-2.46/mozilla/extensions/spellcheck/hunspell/glue/hunspell_alloc_hooks.h
@@ -50,9 +50,9 @@
 #include "mozilla/mozalloc.h"
 #include "mozHunspellAllocator.h"
 
-#define malloc(size) HunspellAllocator::CountingMalloc(size)
-#define calloc(count, size) HunspellAllocator::CountingCalloc(count, size)
-#define free(ptr) HunspellAllocator::CountingFree(ptr)
-#define realloc(ptr, size) HunspellAllocator::CountingRealloc(ptr, size)
+//#define malloc(size) HunspellAllocator::CountingMalloc(size)
+//#define calloc(count, size) HunspellAllocator::CountingCalloc(count, size)
+//#define free(ptr) HunspellAllocator::CountingFree(ptr)
+//#define realloc(ptr, size) HunspellAllocator::CountingRealloc(ptr, size)
 
 #endif