Teach platform about darwin/x86

This commit is contained in:
Ronald Oussoren 2006-04-17 13:37:15 +00:00
parent ce8607df96
commit 749d070e93
1 changed files with 2 additions and 1 deletions

View File

@ -607,7 +607,8 @@ def mac_ver(release='',versioninfo=('','',''),machine=''):
versioninfo = (version,stage,nonrel)
if sysa:
machine = {0x1: '68k',
0x2: 'PowerPC'}.get(sysa,'')
0x2: 'PowerPC',
0xa: 'i386'}.get(sysa,'')
return release,versioninfo,machine
def _java_getprop(name,default):