Commit f632b55c authored by Francois Broquedis's avatar Francois Broquedis
Browse files

Undefine previously defined _MMAP macro (rebordel).

parent 7a97d7ce
......@@ -58,7 +58,7 @@ void TokenSource::open(const char *filename){
throw Error::_OPEN;
}
#undef _MMAP
if ((_buffer = (char *)mmap(0, _filesize, PROT_READ, MAP_PRIVATE, _fd, 0)) == MAP_FAILED) {
throw Error::_MMAP;
}
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment