- declare GNUNET_EXTRA_LOGGING to make gnunet_common.h usable by sources not present...
authorSree Harsha Totakura <totakura@in.tum.de>
Fri, 24 May 2013 13:17:32 +0000 (13:17 +0000)
committerSree Harsha Totakura <totakura@in.tum.de>
Fri, 24 May 2013 13:17:32 +0000 (13:17 +0000)
src/include/gnunet_common.h

index e22df4e0ef3f0e874fe13e095bf2d1fdf94ff847..116971179ee39022fdab8268cd78db8512ace646 100644 (file)
@@ -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
  */