examples: mmap with unlovely ifdef