projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Fio 1.17.1
[fio.git]
/
os
/
os.h
diff --git
a/os/os.h
b/os/os.h
index 660dcc5202dc948e430224bdc33591dda9591dbf..42cd63d020aedf28e91114ef171697e4f393b6e1 100644
(file)
--- a/
os/os.h
+++ b/
os/os.h
@@
-27,9
+27,11
@@
#ifndef FIO_HAVE_FADVISE
#define fadvise(fd, off, len, advice) (0)
#ifndef FIO_HAVE_FADVISE
#define fadvise(fd, off, len, advice) (0)
+#ifndef POSIX_FADV_DONTNEED
#define POSIX_FADV_DONTNEED (0)
#define POSIX_FADV_SEQUENTIAL (0)
#define POSIX_FADV_RANDOM (0)
#define POSIX_FADV_DONTNEED (0)
#define POSIX_FADV_SEQUENTIAL (0)
#define POSIX_FADV_RANDOM (0)
+#endif
#endif /* FIO_HAVE_FADVISE */
#ifndef FIO_HAVE_CPU_AFFINITY
#endif /* FIO_HAVE_FADVISE */
#ifndef FIO_HAVE_CPU_AFFINITY
@@
-49,7
+51,9
@@
#ifndef FIO_HAVE_HUGETLB
#define SHM_HUGETLB 0
#ifndef FIO_HAVE_HUGETLB
#define SHM_HUGETLB 0
+#ifndef FIO_HUGE_PAGE
#define FIO_HUGE_PAGE 0
#define FIO_HUGE_PAGE 0
+#endif
#else
#ifndef FIO_HUGE_PAGE
#define FIO_HUGE_PAGE 4194304
#else
#ifndef FIO_HUGE_PAGE
#define FIO_HUGE_PAGE 4194304