Browse Source

support systems without ENODATA

pull/304/head
Antonio SJ Musumeci 8 years ago
parent
commit
709dda5069
  1. 10
      src/xattr.hpp

10
src/xattr.hpp

@ -18,10 +18,18 @@
#include <attr/xattr.h> #include <attr/xattr.h>
#endif #endif
#ifndef ENOATTR
#if defined(ENODATA) && !defined(ENOATTR)
#define ENOATTR ENODATA #define ENOATTR ENODATA
#endif #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 #ifndef XATTR_CREATE
#define XATTR_CREATE 0x1 #define XATTR_CREATE 0x1
#endif #endif

Loading…
Cancel
Save