Merge pull request #788 from wolfman2000/wolf-fadvise-headers
Utilize the headers that POSIX_FADVISE requires.
This commit is contained in:
@@ -6,12 +6,19 @@
|
|||||||
#if defined(HAVE_FCNTL_H)
|
#if defined(HAVE_FCNTL_H)
|
||||||
#include <fcntl.h>
|
#include <fcntl.h>
|
||||||
#endif
|
#endif
|
||||||
|
#if defined(HAVE_UNISTD_H)
|
||||||
|
#include <unistd.h>
|
||||||
|
#endif
|
||||||
|
#if defined(HAVE_SYS_TYPES_H)
|
||||||
|
#include <sys/types.h>
|
||||||
|
#endif
|
||||||
#include <cerrno>
|
#include <cerrno>
|
||||||
#if defined(WIN32)
|
#if defined(WIN32)
|
||||||
#include <io.h>
|
#include <io.h>
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
#if defined(HAVE_POSIX_FADVISE)
|
#if defined(HAVE_POSIX_FADVISE)
|
||||||
|
|
||||||
void RageFileManagerReadAhead::Init() { }
|
void RageFileManagerReadAhead::Init() { }
|
||||||
void RageFileManagerReadAhead::Shutdown() { }
|
void RageFileManagerReadAhead::Shutdown() { }
|
||||||
void RageFileManagerReadAhead::ReadAhead( RageFileBasic *pFile, int iBytes )
|
void RageFileManagerReadAhead::ReadAhead( RageFileBasic *pFile, int iBytes )
|
||||||
|
|||||||
Reference in New Issue
Block a user