Change in ...nfs-ganesha[next]: Sanitize use of _GNU_SOURCE preprocessor define
by Matthew DeVore (GerritHub)
Matthew DeVore has uploaded this change for review. ( https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518911 )
Change subject: Sanitize use of _GNU_SOURCE preprocessor define
......................................................................
Sanitize use of _GNU_SOURCE preprocessor define
1) define in just one place rather than every CMakeLists that wants it
2) only define if the platform supports it (to reduce command line to
only meaningful elements, and clarify purpose of symbol for future
maintainers)
3) for the check it was used for in abstract_mem.h, replace it with
something that will work regardless of the compilation it is used
in, as this header could be included in non-Ganesha compilation
units
Change-Id: Iec52a88c9f75ea1fe4a41e1a60dbb7090ec04c63
Signed-off-by: Matthew DeVore <matvore(a)google.com>
---
M src/CMakeLists.txt
M src/FSAL/FSAL_GLUSTER/CMakeLists.txt
M src/FSAL/FSAL_LIZARDFS/CMakeLists.txt
M src/FSAL/FSAL_MEM/CMakeLists.txt
M src/FSAL/FSAL_PROXY_V3/CMakeLists.txt
M src/FSAL/FSAL_PROXY_V4/CMakeLists.txt
M src/FSAL/FSAL_PSEUDO/CMakeLists.txt
M src/FSAL/FSAL_VFS/CMakeLists.txt
M src/FSAL/FSAL_VFS/panfs/CMakeLists.txt
M src/FSAL/FSAL_VFS/vfs/CMakeLists.txt
M src/FSAL/FSAL_VFS/xfs/CMakeLists.txt
M src/FSAL/Stackable_FSALs/FSAL_MDCACHE/CMakeLists.txt
M src/FSAL/Stackable_FSALs/FSAL_NULL/CMakeLists.txt
M src/MainNFSD/CMakeLists.txt
M src/RPCAL/gss_credcache.c
M src/SAL/recovery/recovery_fs_ng.c
M src/config_parsing/CMakeLists.txt
M src/include/abstract_mem.h
M src/log/CMakeLists.txt
19 files changed, 10 insertions(+), 25 deletions(-)
git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/11/518911/1
--
To view, visit https://review.gerrithub.io/c/ffilz/nfs-ganesha/+/518911
To unsubscribe, or for help writing mail filters, visit https://review.gerrithub.io/settings
Gerrit-Project: ffilz/nfs-ganesha
Gerrit-Branch: next
Gerrit-Change-Id: Iec52a88c9f75ea1fe4a41e1a60dbb7090ec04c63
Gerrit-Change-Number: 518911
Gerrit-PatchSet: 1
Gerrit-Owner: Matthew DeVore <matvore(a)comcast.net>
Gerrit-MessageType: newchange