aboutsummaryrefslogtreecommitdiff
path: root/src/include/gnunet_common.h
diff options
context:
space:
mode:
Diffstat (limited to 'src/include/gnunet_common.h')
-rw-r--r--src/include/gnunet_common.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h
index a1ef4ee24..f26d6bc98 100644
--- a/src/include/gnunet_common.h
+++ b/src/include/gnunet_common.h
@@ -141,6 +141,15 @@
141#define GNUNET_PACKED __attribute__((packed)) 141#define GNUNET_PACKED __attribute__((packed))
142 142
143/** 143/**
144 * gcc-ism to get gcc bitfield layout when compiling with -mms-bitfields
145 */
146#if MINGW
147#define GNUNET_GCC_STRUCT_LAYOUT __attribute__((gcc_struct))
148#else
149#define GNUNET_GCC_STRUCT_LAYOUT
150#endif
151
152/**
144 * gcc-ism to document unused arguments 153 * gcc-ism to document unused arguments
145 */ 154 */
146#define GNUNET_UNUSED __attribute__((unused)) 155#define GNUNET_UNUSED __attribute__((unused))