mirror of https://github.com/python/cpython.git
use the proper prefix file under Carbon
This commit is contained in:
parent
abdfc4147d
commit
f3456912e4
|
@ -37,7 +37,10 @@ def __init__(self, dict, templatelist=TEMPLATELIST, templatename=None):
|
|||
raise Error, "Cannot find templatedir %s"%templatedir
|
||||
self.dict = dict
|
||||
if not dict.has_key('prefixname'):
|
||||
dict['prefixname'] = 'mwerks_plugin_config.h'
|
||||
if hasattr(MacOS, 'runtimemodel') and MacOS.runtimemodel == "carbon":
|
||||
dict['prefixname'] = 'mwerks_carbonplugin_config.h'
|
||||
else:
|
||||
dict['prefixname'] = 'mwerks_plugin_config.h'
|
||||
self.templatelist = templatelist
|
||||
self.templatedir = templatedir
|
||||
|
||||
|
|
Loading…
Reference in New Issue