Skip to content
  • Thomas Haller's avatar
    build: always define NM_MORE_LOGGING define and don't check with #ifdef · 3b5f8c91
    Thomas Haller authored
    Using '#ifdef' is generally error prone. It's better to always define
    a define and check for it explicitly. This way, the compiler can issue
    a warning if the define does not exist.
    
    Also, note how meson would always define NM_MORE_LOGGING, possibly to
    "0". That means, for meson, we unintentionally always enabled more
    logging because the define was always present.
    
    Fix that.
    3b5f8c91