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

This commit is contained in:
Just van Rossum 2001-06-19 19:44:02 +00:00
parent 7069763913
commit 92c5bdbc19
1 changed files with 1 additions and 1 deletions

View File

@ -164,7 +164,7 @@ def link (self,
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