Bug 668151 - Bug 515492 (VS2010 jemalloc support) doesn't work on Win64. r=khuey

This commit is contained in:
Makoto Kato 2011-07-01 10:40:30 +09:00
parent 71e98c36a4
commit 9f4562e96e

View File

@ -40,5 +40,8 @@ from __future__ import with_statement
with open('crtdll.obj', 'rb') as infile:
data = infile.read()
with open('crtdll_fixed.obj', 'wb') as outfile:
# for Win32
data = data.replace('__imp__free', '__imp__frex')
# for Win64
data = data.replace('__imp_free', '__imp_frex')
outfile.write(data)