From b1ac8481c7b2ea0725918f8a286bb7a89d888050 Mon Sep 17 00:00:00 2001 From: Sree Harsha Totakura Date: Fri, 24 May 2013 13:17:32 +0000 Subject: [PATCH] - declare GNUNET_EXTRA_LOGGING to make gnunet_common.h usable by sources not present in source tree --- src/include/gnunet_common.h | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index e22df4e0e..116971179 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -103,6 +103,14 @@ extern "C" #endif #endif +/** + * define GNUNET_EXTRA_LOGGING if using this header outside the GNUnet source + * tree where gnunet_config.h is unavailable + */ +#ifndef GNUNET_EXTRA_LOGGING +#define GNUNET_EXTRA_LOGGING 0 +#endif + /** * Endian operations */ -- 2.25.1