summaryrefslogtreecommitdiffstats
path: root/Mac/Lib/mkcwproject/cwxmlgen.py
diff options
context:
space:
mode:
authorJust van Rossum <just@letterror.com>2001-08-11 10:07:23 (GMT)
committerJust van Rossum <just@letterror.com>2001-08-11 10:07:23 (GMT)
commitf3456912e46ba74233e219a94f48e29c85280abc (patch)
tree3c5cf14a406ca6fca1d5070f28bc12763ac14933 /Mac/Lib/mkcwproject/cwxmlgen.py
parentabdfc4147d1f1334bb4dbaf5d9dd66af1db175ad (diff)
downloadcpython-f3456912e46ba74233e219a94f48e29c85280abc.zip
cpython-f3456912e46ba74233e219a94f48e29c85280abc.tar.gz
cpython-f3456912e46ba74233e219a94f48e29c85280abc.tar.bz2
use the proper prefix file under Carbon
Diffstat (limited to 'Mac/Lib/mkcwproject/cwxmlgen.py')
-rw-r--r--Mac/Lib/mkcwproject/cwxmlgen.py5
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