Closed Bug 481586 Opened 15 years ago Closed 15 years ago

rename FT_Memory.free and FT_Memory.realloc to allow jemalloc to be enabled on windows ce

Categories

(Core :: General, defect)

x86
Windows XP
defect
Not set
normal

Tracking

()

RESOLVED INVALID

People

(Reporter: blassey, Unassigned)

References

Details

Attachments

(1 file)

Attached patch patch v.1Splinter 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)
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.
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: 15 years ago
Resolution: --- → INVALID
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: