diff options
Diffstat (limited to 'src/include')
-rw-r--r-- | src/include/platform.h | 6 |
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 |