new include guard for write_config_header

This commit is contained in:
Thomas Nagy 2012-05-11 07:26:50 +02:00
parent 49ce7a489e
commit 556eabd0af
1 changed files with 1 additions and 1 deletions

View File

@ -913,7 +913,7 @@ def write_config_header(self, configfile='', guard='', top=False, env=None, defi
:type remove: bool
"""
if not configfile: configfile = WAF_CONFIG_H
waf_guard = guard or '_%s_WAF' % Utils.quote_define_name(configfile)
waf_guard = guard or 'W_%s_WAF' % Utils.quote_define_name(configfile)
node = top and self.bldnode or self.path.get_bld()
node = node.make_node(configfile)