Commit 287df27c authored by Mikael Ronstrom's avatar Mikael Ronstrom

Make MY_ALIGNED usable to define alignment of data structures

parent d5d966a6
......@@ -140,6 +140,14 @@ struct my_aligned_storage
#endif /* __cplusplus */
# if defined(MY_ALIGNED)
/*
Make sure MY_ALIGNED can be used also on platforms where we don't
have a way of aligning data structures.
*/
#define MY_ALIGNED(size)
#endif
#include <my_attribute.h>
#endif /* MY_COMPILER_INCLUDED */
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment