64-bit build support. Thanks to Ariel Shiftan and Itai Shaham for the initial patch.

This commit is contained in:
gergely.erdelyi
2009-05-23 14:40:01 +00:00
parent 05e10a0f25
commit 5a66395061
3 changed files with 81 additions and 107 deletions
+5 -1
View File
@@ -99,7 +99,11 @@ sys.stdout = sys.stderr = MyStdOut()
sys.argv = [ "" ]
# Have to make sure Python finds our modules
sys.path.append(_idaapi.idadir("python"))
if _idaapi.idainfo_is_64bit(_idaapi.cvar.inf):
pythonDir = "python64"
else:
pythonDir = "python"
sys.path.append(_idaapi.idadir(pythonDir))
print_banner()