diff options
| author | Just van Rossum <just@letterror.com> | 2001-06-19 19:44:02 +0000 |
|---|---|---|
| committer | Just van Rossum <just@letterror.com> | 2001-06-19 19:44:02 +0000 |
| commit | e7ab99d0e57404a593cd9e44f9381d3f08b0925c (patch) | |
| tree | 0413772f05307d858b9ed10cf055e76429c0912e /mwerkscompiler.py | |
| parent | 4fb616ab1845cdb8a67b68055a8a348db3c6f99c (diff) | |
| download | python-setuptools-git-e7ab99d0e57404a593cd9e44f9381d3f08b0925c.tar.gz | |
Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument.
Diffstat (limited to 'mwerkscompiler.py')
| -rw-r--r-- | mwerkscompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mwerkscompiler.py b/mwerkscompiler.py index 981fd95f..1b416715 100644 --- a/mwerkscompiler.py +++ b/mwerkscompiler.py @@ -164,7 +164,7 @@ class MWerksCompiler (CCompiler) : if value is None: fp.write('#define %s\n'%name) else: - fp.write('#define %s "%s"\n'%(name, value)) + fp.write('#define %s %s\n'%(name, value)) fp.close() settings['prefixname'] = prefixname |
