Browse Source

set POSIX_FADV_SEQUENTIAL if not present

Patrick Brosi 6 years ago
parent
commit
bdbfb7a18c
1 changed files with 4 additions and 0 deletions
  1. 4 0
      File.cpp

+ 4 - 0
File.cpp

@@ -13,6 +13,10 @@
13
 #include "xml/File.h"
13
 #include "xml/File.h"
14
 #include "xml/NamedEnts.h"
14
 #include "xml/NamedEnts.h"
15
 
15
 
16
+#ifndef POSIX_FADV_SEQUENTIAL
17
+#define POSIX_FADV_SEQUENTIAL 2
18
+#endif
19
+
16
 using namespace xml;
20
 using namespace xml;
17
 
21
 
18
 // _____________________________________________________________________________
22
 // _____________________________________________________________________________