Mentions légales du service

Skip to content
Snippets Groups Projects
Commit 613aaee2 authored by Johnny Jazeix's avatar Johnny Jazeix
Browse files

endif directive not well placed

parent b8113788
No related branches found
No related tags found
No related merge requests found
......@@ -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)
{
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment