> Sounds right. Further, the whole code block is dumb. Instead something > like this should be at the top of the file: > > #ifdef __MINGW32__ > typedef off_t fpos_t > #endif > Won't this result in conflicting data types as both off_t an fpos_t already exist? Sascha