-trying to fix build errors on old gccs
authorChristian Grothoff <christian@grothoff.org>
Wed, 25 Apr 2012 07:01:40 +0000 (07:01 +0000)
committerChristian Grothoff <christian@grothoff.org>
Wed, 25 Apr 2012 07:01:40 +0000 (07:01 +0000)
src/include/gnunet_common.h

index 1fbd1a88eb3935adf1176168980cb1df6770b8c6..9f776587e022517d8a100eba0b633c8549abbc68 100644 (file)
  * 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