I had the same question today and solved it by compiling the code with mingw : from...
strange off_t type with mingw compilation
I had the same question today and solve it by compiling the code with mingw from...