Hi! The file <include/linux/fs.h> contains declaration of struct inode. In kernel versions before 2.6.17(?) this struct contains member union{ void *generic_ip; } u; In kernel versions after 2.6.19(?) this struct contains member void *i_private In 2.6.18 this struct can be first or second variant. Is it possible to detect at compile time what kind of private pointer the struct inode contains? Thanks in advance. -- View this message in context: http://www.nabble.com/struct-member-detection-tp14922472p14922472.html Sent from the gcc - Help mailing list archive at Nabble.com.