aboutsummaryrefslogtreecommitdiff
path: root/src/include/platform.h
diff options
context:
space:
mode:
authorSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-31 13:47:43 +0200
committerSchanzenbach, Martin <mschanzenbach@posteo.de>2019-07-31 13:47:43 +0200
commit37a32e37e76172599461b264c7e545b2c56ebf3c (patch)
treec286769a67129acc1d53af4ec56e7812bc75720b /src/include/platform.h
parent68064fbe8d5e0e13688d41d620bd78babb0b431a (diff)
downloadgnunet-37a32e37e76172599461b264c7e545b2c56ebf3c.tar.gz
gnunet-37a32e37e76172599461b264c7e545b2c56ebf3c.zip
fix #5815
Diffstat (limited to 'src/include/platform.h')
-rw-r--r--src/include/platform.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/platform.h b/src/include/platform.h
index 23e640ec1..4636ddd73 100644
--- a/src/include/platform.h
+++ b/src/include/platform.h
@@ -295,4 +295,13 @@ atoll (const char *nptr);
295#define GNUNET_THREAD_LOCAL 295#define GNUNET_THREAD_LOCAL
296#endif 296#endif
297 297
298/**
299 * clang et al do not have such an attribute
300 */
301#if __has_attribute(__nonstring__)
302# define __nonstring __attribute__((__nonstring__))
303#else
304# define __nonstring
305#endif
306
298#endif 307#endif