Fix to #define True/False option values as 0/1 in header.
--HG-- extra : convert_revision : 7fbae4816a4d0a5ed942e0ad8afed9464dd1ba11
This commit is contained in:
parent
23a9102d01
commit
809230bbde
1 changed files with 1 additions and 1 deletions
|
@ -223,7 +223,7 @@ env = conf.Finish()
|
||||||
# The source operand is a Value node containing the value of the option.
|
# The source operand is a Value node containing the value of the option.
|
||||||
def build_config_file(target, source, env, option):
|
def build_config_file(target, source, env, option):
|
||||||
f = file(str(target[0]), 'w')
|
f = file(str(target[0]), 'w')
|
||||||
print >> f, '#define', option, source[0]
|
print >> f, '#define', option, int(eval(str(source[0])))
|
||||||
f.close()
|
f.close()
|
||||||
return None
|
return None
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue