aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorAlessio Vanni <vannilla@firemail.cc>2021-08-31 16:09:03 +0200
committerAlessio Vanni <vannilla@firemail.cc>2021-08-31 16:09:03 +0200
commit25d8a8a26626bf3cf80a85c1ad843e3a6dcf1c8a (patch)
treef5c61827d994b2793613d93e52beb202d734e1d9 /src
parenta2b5de8e03aea9d8664817ba51720ccf27517f4f (diff)
downloadgnunet-25d8a8a26626bf3cf80a85c1ad843e3a6dcf1c8a.tar.gz
gnunet-25d8a8a26626bf3cf80a85c1ad843e3a6dcf1c8a.zip
Flip the value of GNUNET_EXTRA_LOGGING given when it's undefined
This change has an impact only on those programs where gnunet_config,h is *not* included. GNUnet's configure script always defines this macro with an appropriate value, so it will never use this hardcoded value. By giving it a non-zero value, applications can now make use of the full logging capabilities provided by GNUnet.
Diffstat (limited to 'src')
-rw-r--r--src/include/gnunet_common.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index 3cff9f482..3ee2a070a 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -135,7 +135,7 @@ enum GNUNET_GenericReturnValue
135 * tree where gnunet_config.h is unavailable 135 * tree where gnunet_config.h is unavailable
136 */ 136 */
137#ifndef GNUNET_EXTRA_LOGGING 137#ifndef GNUNET_EXTRA_LOGGING
138#define GNUNET_EXTRA_LOGGING 0 138#define GNUNET_EXTRA_LOGGING 1
139#endif 139#endif
140 140
141/** 141/**