Skip to content

Commit

Permalink
Merge pull request #444 from tp-m/config-undef
Browse files Browse the repository at this point in the history
config file: write commented undef lines same as autoconf
  • Loading branch information
jpakkane committed Mar 12, 2016
2 parents 2afc1dd + 48a2b20 commit c218f22
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mesonbuild/mesonlib.py
Original file line number Diff line number Diff line change
Expand Up @@ -227,7 +227,7 @@ def do_mesondefine(line, confdata):
try:
v = confdata.get(varname)
except KeyError:
return '/* undef %s */\n' % varname
return '/* #undef %s */\n' % varname
if isinstance(v, bool):
if v:
return '#define %s\n' % varname
Expand Down

0 comments on commit c218f22

Please sign in to comment.