From 613aaee24db6fe053cef360f7636e65dfe8774cc Mon Sep 17 00:00:00 2001
From: Jonnhy Jazeix <jazeix@gmail.com>
Date: Sun, 16 Aug 2015 08:37:43 +0000
Subject: [PATCH] endif directive not well placed

---
 src/parser/PajeParser/mt_PajeFileManager.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/parser/PajeParser/mt_PajeFileManager.cpp b/src/parser/PajeParser/mt_PajeFileManager.cpp
index b3deefc4..96825df9 100644
--- a/src/parser/PajeParser/mt_PajeFileManager.cpp
+++ b/src/parser/PajeParser/mt_PajeFileManager.cpp
@@ -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)
     {
-- 
GitLab