From: Marco van Wieringen Date: Fri, 9 Oct 2009 18:30:10 +0000 (+0200) Subject: Fix ifdefs X-Git-Tag: Release-7.0.0~2602^2~1^2~4^2~12 X-Git-Url: https://git.sur5r.net/?a=commitdiff_plain;h=a84519820de71be8c3f00f7d560ca68ccbefde1e;p=bacula%2Fbacula Fix ifdefs --- diff --git a/bacula/src/filed/xattr.c b/bacula/src/filed/xattr.c index f97c3c4fce..33391e0fe5 100644 --- a/bacula/src/filed/xattr.c +++ b/bacula/src/filed/xattr.c @@ -588,12 +588,9 @@ static bxattr_exit_code (*os_parse_xattr_streams)(JCR *jcr, int stream) = linux_ defined(HAVE_NETBSD_OS) || \ defined(HAVE_OPENBSD_OS) -#if !defined(HAVE_EXTATTR_GET_LINK) || \ - !defined(HAVE_EXTATTR_SET_LINK) || \ - !defined(HAVE_EXTATTR_LIST_LINK) || \ - !defined(HAVE_EXTATTR_GET_FILE) || \ - !defined(HAVE_EXTATTR_SET_FILE) || \ - !defined(HAVE_EXTATTR_LIST_FILE) || \ +#if (!defined(HAVE_EXTATTR_GET_LINK) && !defined(HAVE_EXTATTR_GET_FILE)) || \ + (!defined(HAVE_EXTATTR_SET_LINK) && !defined(HAVE_EXTATTR_SET_FILE)) || \ + (!defined(HAVE_EXTATTR_LIST_LINK) && !defined(HAVE_EXTATTR_LIST_FILE)) || \ !defined(HAVE_EXTATTR_NAMESPACE_TO_STRING) || \ !defined(HAVE_EXTATTR_STRING_TO_NAMESPACE) #error "Missing full support for the extattr functions."