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:
dsandersoremutah
2006-09-13 14:50:13 +00:00
parent 4919c7e3f5
commit 2e4d2fb076

View File

@@ -185,8 +185,9 @@ RCODE F_FileHdl::openOrCreate(
{
bDoDirectIO = FALSE;
}
#ifdef O_NOATIME
openFlags |= O_NOATIME;
#endif
}
#elif defined( FLM_AIX)
openFlags |= O_DIRECT;