Mercurial > dropbear
view ifndef_wrapper.sh @ 1644:b3196c46f780
Update config.sub to 2019-01-05 and config.guess to 2019-03-04
author | Matt Johnston <matt@ucc.asn.au> |
---|---|
date | Sat, 23 Mar 2019 21:19:02 +0800 |
parents | 0196f4f83fee |
children |
line wrap: on
line source
#!/bin/sh # Wrap all "#define X Y" with a #ifndef X...#endif" sed 's/^\( *#define \([^ ][^ ]*\) .*\)/#ifndef \2\ \1\ #endif/'