comparison m_config.h @ 13246:5dea9e3618ba

alignment for SPARC64, second try
author reimar
date Sat, 04 Sep 2004 15:34:20 +0000
parents 57bdcdb061d7
children 63909962d3fc
comparison
equal deleted inserted replaced
13245:35a69552ea80 13246:5dea9e3618ba
7 struct m_option_type; 7 struct m_option_type;
8 8
9 struct m_config_save_slot { 9 struct m_config_save_slot {
10 m_config_save_slot_t* prev; 10 m_config_save_slot_t* prev;
11 int lvl; 11 int lvl;
12 unsigned char data[0]; 12 // we have to store other datatypes in this as well,
13 // so make sure we get properly aligned addresses
14 unsigned char data[0] __attribute__ ((aligned (8)));
13 }; 15 };
14 16
15 struct m_config_option { 17 struct m_config_option {
16 m_config_option_t* next; 18 m_config_option_t* next;
17 char* name; // Full name (ie option:subopt) 19 char* name; // Full name (ie option:subopt)