branch | Compiler_Compatibility |
changeset 69 | 211f5da0b826 |
parent 0 | a41df078684a |
child 143 | de794338254b |
68:367a75030909 | 69:211f5da0b826 |
---|---|
444 */ |
444 */ |
445 #ifndef _FOFF |
445 #ifndef _FOFF |
446 #if __GNUC__ < 4 |
446 #if __GNUC__ < 4 |
447 #define _FOFF(c,f) (((TInt)&(((c *)0x1000)->f))-0x1000) |
447 #define _FOFF(c,f) (((TInt)&(((c *)0x1000)->f))-0x1000) |
448 #else |
448 #else |
449 #define _FOFF(c,f) __builtin_offsetof(c,f) |
449 #define _FOFF(c,f) (__builtin_offsetof(c,f)) |
450 #endif |
450 #endif |
451 #endif |
451 #endif |
452 |
452 |
453 |
453 |
454 |
454 |