newWithMapping function  when HAVE_MMAP is not defined should have
return value to satisfy function signature.