From 39c5a5e929efc7c3b89a4e316dfd02b1734848d6 Mon Sep 17 00:00:00 2001 From: Przemyslaw Pawelczyk Date: Mon, 19 Feb 2018 00:34:14 +0100 Subject: Support building with no extended attributes support. Support building with no extended attributes support when NO_XATTR macro is predefined to non-0 value (e.g. put -DNO_XATTR in CFLAGS). --- src/metastore.h | 8 ++++++++ 1 file changed, 8 insertions(+) (limited to 'src/metastore.h') diff --git a/src/metastore.h b/src/metastore.h index e5584ab..bedad6c 100644 --- a/src/metastore.h +++ b/src/metastore.h @@ -42,4 +42,12 @@ #define ACTIONS_READING 0x07 #define ACTIONS_WRITING 0x70 +/* Possible build defines */ +#ifndef NO_XATTR +# define NO_XATTR 0 +#endif /* NO_XATTR */ + +/* Messages */ +#define NO_XATTR_MSG "no XATTR support" + #endif /* METASTORE_H */ -- cgit v1.2.1