Hi Allan, On 05/06/07, m. allan noah wrote: > hmm, no offsetof macro in mingw's c lib? or maybe the correct header > is not included on mingw build (usually stddef.h)? > > if you cant find it, you could try adding this to sanei-scsi.h > > #define offsetof(TYPE, MEMBER) ((size_t) & (((TYPE*) 0)->MEMBER)) > > just to see if that works.
The header stddef.h was already in the appropriate location. Adding the #define got it to work past the error. Thankyou. Hugh