diff options
-rw-r--r-- | Mac/Lib/mkcwproject/cwxmlgen.py | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/Mac/Lib/mkcwproject/cwxmlgen.py b/Mac/Lib/mkcwproject/cwxmlgen.py index ef6f93a..f2e3eb2 100644 --- a/Mac/Lib/mkcwproject/cwxmlgen.py +++ b/Mac/Lib/mkcwproject/cwxmlgen.py @@ -37,7 +37,10 @@ class ProjectBuilder: 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 |