projects
/
oweals
/
gnunet.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
9c7d617
)
-trying to fix build errors on old gccs
author
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Apr 2012 07:01:40 +0000
(07:01 +0000)
committer
Christian Grothoff
<christian@grothoff.org>
Wed, 25 Apr 2012 07:01:40 +0000
(07:01 +0000)
src/include/gnunet_common.h
patch
|
blob
|
history
diff --git
a/src/include/gnunet_common.h
b/src/include/gnunet_common.h
index 1fbd1a88eb3935adf1176168980cb1df6770b8c6..9f776587e022517d8a100eba0b633c8549abbc68 100644
(file)
--- 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