Added ifdef around O_NOATIME. This is only defined for linux kernels 2.6.8 and greater.
git-svn-id: https://svn.code.sf.net/p/flaim/code/trunk@847 0109f412-320b-0410-ab79-c3e0c5ffbbe6
This commit is contained in:
@@ -185,8 +185,9 @@ RCODE F_FileHdl::openOrCreate(
|
||||
{
|
||||
bDoDirectIO = FALSE;
|
||||
}
|
||||
|
||||
#ifdef O_NOATIME
|
||||
openFlags |= O_NOATIME;
|
||||
#endif
|
||||
}
|
||||
#elif defined( FLM_AIX)
|
||||
openFlags |= O_DIRECT;
|
||||
|
||||
Reference in New Issue
Block a user