• Rusty Russell's avatar
    ccanlint: check for #ifdef · 9450cb3c
    Rusty Russell authored
    Old habits die hard; it's better to use #if <FEATURE> than #ifdef <FEATURE>;
    they're similar, because undefined identifiers evaluate to zero, but with
    GCC's -Wundef flag you can detect mis-spelled or missing features with
    #if.
    
    autoconf-style config.h leave unset features undefined, so this works for
    those config.h too.
    9450cb3c
hash_if.c 1.73 KB