projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d716370
)
- declare GNUNET_EXTRA_LOGGING to make gnunet_common.h usable by sources not present...
author
Sree Harsha Totakura
<totakura@in.tum.de>
Fri, 24 May 2013 13:17:32 +0000
(13:17 +0000)
committer
Sree Harsha Totakura
<totakura@in.tum.de>
Fri, 24 May 2013 13:17:32 +0000
(13:17 +0000)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index e22df4e0ef3f0e874fe13e095bf2d1fdf94ff847..116971179ee39022fdab8268cd78db8512ace646 100644
(file)
--- 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
*/