Changeset 06da55b in mainline


Ignore:
Timestamp:
2009-02-17T00:48:35Z (16 years ago)
Author:
Martin Decky <martin@…>
Branches:
lfn, master, serial, ticket/834-toolchain-update, topic/msim-upgrade, topic/simplify-dev-export
Children:
e94f730
Parents:
ae318d3
Message:

prepare to eliminate any non-standard defines
for each '#define name value' add also '#define name_value'

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tools/config.py

    rae318d3 r06da55b  
    258258                                outdf.write(' -D%s' % varname)
    259259                else:
    260                         outmc.write('/* %s */\n#define %s %s\n\n' % (name, varname, default))
    261                         outdf.write(' -D%s=%s' % (varname, default))
     260                        outmc.write('/* %s */\n#define %s %s\n#define %s_%s\n\n' % (name, varname, default, varname, default))
     261                        outdf.write(' -D%s=%s -D%s_%s' % (varname, default, varname, default))
    262262       
    263263        outmk.write('REVISION = %s\n' % revision)
Note: See TracChangeset for help on using the changeset viewer.