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
Родитель d79376262c
Коммит 21077b80b9
1 изменённых файлов: 3 добавлений и 0 удалений

Просмотреть файл

@ -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)