Kaydet (Commit) f3456912 authored tarafından Just van Rossum's avatar Just van Rossum

use the proper prefix file under Carbon

üst abdfc414
...@@ -37,7 +37,10 @@ class ProjectBuilder: ...@@ -37,7 +37,10 @@ class ProjectBuilder:
raise Error, "Cannot find templatedir %s"%templatedir raise Error, "Cannot find templatedir %s"%templatedir
self.dict = dict self.dict = dict
if not dict.has_key('prefixname'): 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.templatelist = templatelist
self.templatedir = templatedir self.templatedir = templatedir
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment