From: Christian Grothoff Date: Wed, 25 Apr 2012 07:01:40 +0000 (+0000) Subject: -trying to fix build errors on old gccs X-Git-Tag: initial-import-from-subversion-38251~13789 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=3110cef66ccd95509a06bb603b1ac4ea6ad4ad31;p=oweals%2Fgnunet.git -trying to fix build errors on old gccs --- diff --git a/src/include/gnunet_common.h b/src/include/gnunet_common.h index 1fbd1a88e..9f776587e 100644 --- a/src/include/gnunet_common.h +++ b/src/include/gnunet_common.h @@ -154,7 +154,11 @@ * that may then be cast to 'struct's. See also gcc * bug #33594. */ +#ifdef __BIGGEST_ALIGNMENT__ #define GNUNET_ALIGN __attribute__((aligned (__BIGGEST_ALIGNMENT__))) +#else +#define GNUNET_ALIGN __attribute__((aligned (8))) +#endif /** * gcc-ism to document unused arguments