mirror of
https://github.com/trapexit/mergerfs.git
synced 2026-11-25 09:26:25 -05:00
support systems without ENODATA
This commit is contained in:
parent
f0f8e527b4
commit
709dda5069
1 changed files with 9 additions and 1 deletions
|
|
@ -18,10 +18,18 @@
|
|||
#include <attr/xattr.h>
|
||||
#endif
|
||||
|
||||
#ifndef ENOATTR
|
||||
#if defined(ENODATA) && !defined(ENOATTR)
|
||||
#define ENOATTR ENODATA
|
||||
#endif
|
||||
|
||||
#if defined(ENOATTR) && !defined(ENODATA)
|
||||
#define ENODATA ENOATTR
|
||||
#endif
|
||||
|
||||
#if !defined(ENOATTR) && !defined(ENODATA)
|
||||
#error "Neither ENOATTR or ENODATA defined: please contact mergerfs author with platform information"
|
||||
#endif
|
||||
|
||||
#ifndef XATTR_CREATE
|
||||
#define XATTR_CREATE 0x1
|
||||
#endif
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue