projects
/
fio.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
Fix compile for older Linux without mmap MAP_HUGETLB
[fio.git]
/
os
/
os.h
diff --git
a/os/os.h
b/os/os.h
index e150284ef6a84f10764abe08103e795ae2058ee6..dd704647932a0ad7f9b1cf22a3860e8ee758b62d 100644
(file)
--- a/
os/os.h
+++ b/
os/os.h
@@
-115,6
+115,10
@@
typedef unsigned long os_cpu_mask_t;
#endif
#endif
+#ifndef FIO_HAVE_MMAP_HUGE
+#define MAP_HUGETLB 0
+#endif
+
#ifndef FIO_O_NOATIME
#define FIO_O_NOATIME 0
#endif