diff options
author | Just van Rossum <just@letterror.com> | 2001-06-19 19:44:02 (GMT) |
---|---|---|
committer | Just van Rossum <just@letterror.com> | 2001-06-19 19:44:02 (GMT) |
commit | 92c5bdbc194f0533ceee7492afc8a2bfdf5d5da8 (patch) | |
tree | 0843fee20f62383b6e001bd5246348bb85ec9bb9 /Lib/distutils | |
parent | 7069763913b6efaf3560545bfdabc4dbfb4c3d02 (diff) | |
download | cpython-92c5bdbc194f0533ceee7492afc8a2bfdf5d5da8.zip cpython-92c5bdbc194f0533ceee7492afc8a2bfdf5d5da8.tar.gz cpython-92c5bdbc194f0533ceee7492afc8a2bfdf5d5da8.tar.bz2 |
Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument.
Diffstat (limited to 'Lib/distutils')
-rw-r--r-- | Lib/distutils/mwerkscompiler.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/distutils/mwerkscompiler.py b/Lib/distutils/mwerkscompiler.py index 981fd95..1b41671 100644 --- a/Lib/distutils/mwerkscompiler.py +++ b/Lib/distutils/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 |