undef feof in fat.hpp