From 7dcbf096087cb6b939149c6f14ea2c3b2ab861e4 Mon Sep 17 00:00:00 2001 From: Dmitry Antipov Date: Thu, 9 Jan 2020 16:17:57 +0300 Subject: xlators/storage: prefer HAVE_xxx to host C library predefines Rely on configure-time HAVE_SET_FSID instead of predefined linux and __GLIBC__, in the same way as fusermount.c does. Change-Id: If81f821014bbf3fdc43950670e316b4d178b4cac Signed-off-by: Dmitry Antipov Updates: bz#1193929 --- xlators/storage/posix/src/posix.h | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'xlators/storage/posix/src') diff --git a/xlators/storage/posix/src/posix.h b/xlators/storage/posix/src/posix.h index 629cd5abf04..c68658924ac 100644 --- a/xlators/storage/posix/src/posix.h +++ b/xlators/storage/posix/src/posix.h @@ -16,12 +16,8 @@ #include #include -#ifdef linux -#ifdef __GLIBC__ +#ifdef HAVE_SET_FSID #include -#else -#include -#endif #endif #ifdef HAVE_SYS_XATTR_H -- cgit