mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-20 23:16:27 -05:00
add #warning to make it more obvious what versions of functions are used
This commit is contained in:
parent
2fe20b888e
commit
7fd629ebf3
9 changed files with 38 additions and 18 deletions
|
|
@ -17,9 +17,11 @@
|
|||
#include <fcntl.h>
|
||||
|
||||
#if _XOPEN_SOURCE >= 600 || _POSIX_C_SOURCE >= 200112L
|
||||
# include "fs_fadvise_posix.icpp"
|
||||
#warning "using fs_fadvise_posix.icpp"
|
||||
#include "fs_fadvise_posix.icpp"
|
||||
#else
|
||||
# include "fs_fadvise_unsupported.icpp"
|
||||
#warning "using fs_fadvise_unsupported.icpp"
|
||||
#include "fs_fadvise_unsupported.icpp"
|
||||
#endif
|
||||
|
||||
#ifndef POSIX_FADV_NORMAL
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue