summaryrefslogtreecommitdiff
path: root/src/metastore.h
diff options
context:
space:
mode:
authorPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-02-19 00:34:14 +0100
committerPrzemyslaw Pawelczyk <przemoc@gmail.com>2018-02-19 00:34:14 +0100
commit39c5a5e929efc7c3b89a4e316dfd02b1734848d6 (patch)
treee0094043968d09e981678702555c9da70f37c290 /src/metastore.h
parent04df7fcc6d0f75bdf14fd87bcac9d609188e8675 (diff)
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).
Diffstat (limited to 'src/metastore.h')
-rw-r--r--src/metastore.h8
1 files changed, 8 insertions, 0 deletions
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 */