]> git.sur5r.net Git - bacula/bacula/commitdiff
Fix ifdefs
authorMarco van Wieringen <mvw@planets.elm.net>
Fri, 9 Oct 2009 18:30:10 +0000 (20:30 +0200)
committerMarco van Wieringen <mvw@planets.elm.net>
Fri, 9 Oct 2009 18:30:10 +0000 (20:30 +0200)
bacula/src/filed/xattr.c

index f97c3c4fcedc8afebc72365f2bcb463b8d404abc..33391e0fe5d3b30e1cced480f41a82800d4dad54 100644 (file)
@@ -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."