summaryrefslogtreecommitdiff
path: root/source3/lib/system.c
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2008-01-20 00:44:14 +0100
committerVolker Lendecke <vl@samba.org>2008-01-20 00:44:14 +0100
commit014bfd35f8c57370b27a1d07c335e2d9813a1333 (patch)
treea4053ec91e7fe37940cb6b9bd10242f95de92d62 /source3/lib/system.c
parentdfd05b9b65c5ad12dbb64b626d3180fb9e21ccb0 (diff)
downloadsamba-014bfd35f8c57370b27a1d07c335e2d9813a1333.tar.gz
samba-014bfd35f8c57370b27a1d07c335e2d9813a1333.tar.bz2
samba-014bfd35f8c57370b27a1d07c335e2d9813a1333.zip
Some systems do not have XATTR_ defined
(This used to be commit 2cac1d3919a96c480f34c93d8b9b07782d46ed23)
Diffstat (limited to 'source3/lib/system.c')
-rw-r--r--source3/lib/system.c5
1 files changed, 0 insertions, 5 deletions
diff --git a/source3/lib/system.c b/source3/lib/system.c
index eb6dcae6fb..fa50955ef6 100644
--- a/source3/lib/system.c
+++ b/source3/lib/system.c
@@ -1917,11 +1917,6 @@ int sys_fremovexattr (int filedes, const char *name)
#endif
}
-#if !defined(HAVE_SETXATTR)
-#define XATTR_CREATE 0x1 /* set value, fail if attr already exists */
-#define XATTR_REPLACE 0x2 /* set value, fail if attr does not exist */
-#endif
-
int sys_setxattr (const char *path, const char *name, const void *value, size_t size, int flags)
{
#if defined(HAVE_SETXATTR)