Closed
Bug 481586
Opened 16 years ago
Closed 16 years ago
rename FT_Memory.free and FT_Memory.realloc to allow jemalloc to be enabled on windows ce
Categories
(Core :: General, defect)
Tracking
()
RESOLVED
INVALID
People
(Reporter: blassey, Unassigned)
References
Details
Attachments
(1 file)
3.01 KB,
patch
|
vlad
:
review+
|
Details | Diff | Splinter Review |
For jemalloc we're defining free to moz_free, which breaks the build in freetype2. This renames the free and realloc members of FT_Memory to freeMem and reallocMem respectively.
Attachment #365609 -
Flags: review?(vladimir)
Attachment #365609 -
Flags: review?(vladimir) → review+
Comment on attachment 365609 [details] [diff] [review]
patch v.1
This is fine, but make a local-patches or something dir underneath our freetype module, and stick this patch file in there and a README describing it (as well as the version of ft we're on), similar to what's in gfx/cairo -- otherwise this will probably get blown away when we take a new freetype.
Reporter | ||
Comment 2•16 years ago
|
||
Switching to #define free moz_free from #define free(x) moz_free(x) eliminates
the need for this patch for jemalloc. As discussed on irc, we should explore
linker options as well.
Marking this as invalid.
Status: NEW → RESOLVED
Closed: 16 years ago
Resolution: --- → INVALID
You need to log in
before you can comment on or make changes to this bug.
Description
•