diff options
author | Thomas Haller <thaller@redhat.com> | 2018-08-26 19:45:22 +0200 |
---|---|---|
committer | Thomas Haller <thaller@redhat.com> | 2018-08-27 17:49:29 +0200 |
commit | 3b5f8c91fe0e5a3d04a5ba10a651fc6817119a19 (patch) | |
tree | 3a16a1bab8ac60adb5ec0a9d02a5829cd3043c26 /meson_options.txt | |
parent | 68691eb0097281972e5fa80088b2804d33e5a232 (diff) | |
download | NetworkManager-3b5f8c91fe0e5a3d04a5ba10a651fc6817119a19.tar.gz |
build: always define NM_MORE_LOGGING define and don't check with #ifdef
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.
Diffstat (limited to 'meson_options.txt')
0 files changed, 0 insertions, 0 deletions