In article <16490006 at hpcllca.HP.COM> walter at hpcllca.HP.COM (Walter Murray) writes: >So what is a valid way to define offsetof? There is no portable way to #define an offsetof() macro in C. The usual method you already know will nonetheless work on a large number of implementations. Others may have to use a compiler intrinsic for this.