Commit e7ab99d0 authored by Just van Rossum's avatar Just van Rossum

Fixed -D emulation for symbols with a value, as specified with the...

Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument.
parent 4fb616ab
...@@ -164,7 +164,7 @@ class MWerksCompiler (CCompiler) : ...@@ -164,7 +164,7 @@ class MWerksCompiler (CCompiler) :
if value is None: if value is None:
fp.write('#define %s\n'%name) fp.write('#define %s\n'%name)
else: else:
fp.write('#define %s "%s"\n'%(name, value)) fp.write('#define %s %s\n'%(name, value))
fp.close() fp.close()
settings['prefixname'] = prefixname settings['prefixname'] = prefixname
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment