At 07:51 PM 9/1/99, you wrote: > >Hi folks. > >Anyone into offsetof definition? >I found this in the Dummie bok, it was a nice exsample on a struct with >2 fields. > >#ifndef offsetof >#define offsetof(s,m) (size_t)&(((s *)0)->m) >#endif Modify your define, PalmOS tends to not adhere to standards. #define offsetof(s,m) ((UInt)&(((s *)0)->m))
- offsetof problem. paal
- Re: offsetof problem. Jason Dawes
- Re: offsetof problem. Dennis Rockwell
- Re: offsetof problem. vsriniva
