Go to the documentation of this file.
17 #ifndef STXXL_IO_UFS_PLATFORM_HEADER
18 #define STXXL_IO_UFS_PLATFORM_HEADER
20 #if STXXL_WINDOWS || defined(__MINGW32__)
33 #include <sys/types.h>
55 #if defined (__linux__)
56 #if !defined(O_DIRECT)
57 #error O_DIRECT is not defined while __linux__ is - PLEASE REPORT THIS BUG
60 #if !defined (O_DIRECT) && (defined (__alpha__) || defined (__i386__))
61 #define O_DIRECT 040000
66 #define O_DIRECT O_SYNC
72 #define lseek _lseeki64
79 #endif // !STXXL_IO_UFS_PLATFORM_HEADER