Commit 613aaee2 authored by Johnny Jazeix's avatar Johnny Jazeix

endif directive not well placed

parent b8113788
......@@ -154,11 +154,11 @@ void mt_PajeFileManager::open ( const char * filename ) {
_line = (char*)mmap(0,_mapped_size, PROT_READ|PROT_WRITE, MAP_PRIVATE, fileno(_fd),0); // Mapping of the file
madvise(_line, _mapped_size , MADV_SEQUENTIAL);//advise kernel that we want to read sequentially in the file
#endif
} else {
// empty file
_eof=true;
}
#endif
if ((char*)-1 == _line)
{
......
Markdown is supported
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