From 809230bbde6efc6106d0aefb696b69150bb66541 Mon Sep 17 00:00:00 2001 From: Steve Reinhardt Date: Thu, 1 Sep 2005 11:35:03 -0400 Subject: [PATCH] Fix to #define True/False option values as 0/1 in header. --HG-- extra : convert_revision : 7fbae4816a4d0a5ed942e0ad8afed9464dd1ba11 --- build/SConstruct | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/SConstruct b/build/SConstruct index 5dd847ba4..b7e769e15 100644 --- a/build/SConstruct +++ b/build/SConstruct @@ -223,7 +223,7 @@ env = conf.Finish() # The source operand is a Value node containing the value of the option. def build_config_file(target, source, env, option): f = file(str(target[0]), 'w') - print >> f, '#define', option, source[0] + print >> f, '#define', option, int(eval(str(source[0]))) f.close() return None