Fixed -D emulation for symbols with a value, as specified with the define_macros Extension argument.
This commit is contained in:
parent
7069763913
commit
92c5bdbc19
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue