aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorFlorian Dold <florian.dold@gmail.com>2019-05-09 14:51:50 +0200
committerFlorian Dold <florian.dold@gmail.com>2019-05-09 14:54:00 +0200
commit67c3314628930be7e6a9d224456c8dac0f4c8fd4 (patch)
tree6d4a141ee37d13aaea3435a1621ca4e323b7ff3f /src/include/platform.h
parent95096540e381d784ab0d28b6cde2935b9b269558 (diff)
downloadgnunet-67c3314628930be7e6a9d224456c8dac0f4c8fd4.tar.gz
gnunet-67c3314628930be7e6a9d224456c8dac0f4c8fd4.zip
towards thread-safe logging
(Thread-safe logging isn't really relevant for GNUnet itself, but it is necessary for the GNU Taler exchange)
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 01b0bcf9e..23e640ec1 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -289,6 +289,10 @@ atoll (const char *nptr);
289#define PATH_MAX 4096 289#define PATH_MAX 4096
290#endif 290#endif
291 291
292 292#if HAVE_THREAD_LOCAL_GCC
293#define GNUNET_THREAD_LOCAL __thread
294#else
295#define GNUNET_THREAD_LOCAL
296#endif
293 297
294#endif 298#endif