diff options
author | Just van Rossum <just@letterror.com> | 2001-08-11 10:07:23 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-08-11 10:07:23 (GMT) |
commit | f3456912e46ba74233e219a94f48e29c85280abc (patch) | |
tree | 3c5cf14a406ca6fca1d5070f28bc12763ac14933 /Mac | |
parent | abdfc4147d1f1334bb4dbaf5d9dd66af1db175ad (diff) | |
download | cpython-f3456912e46ba74233e219a94f48e29c85280abc.zip cpython-f3456912e46ba74233e219a94f48e29c85280abc.tar.gz cpython-f3456912e46ba74233e219a94f48e29c85280abc.tar.bz2 |
use the proper prefix file under Carbon
Diffstat (limited to 'Mac')
-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 |