]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commit
test/ceph_crypto: define __has_feature if the compiler doesn't have it 57118/head
authorXuehan Xu <xuxuehan@qianxin.com>
Sun, 28 Apr 2024 03:11:57 +0000 (11:11 +0800)
committerXuehan Xu <xuxuehan@qianxin.com>
Sun, 28 Apr 2024 03:29:09 +0000 (11:29 +0800)
commit3190c02436c810c9988c5e03b13533a734a56679
treecb94a5b678214dbb0c5e3f8b72bbe8cc76bb65c4
parent8e9f5c5a4d4f3d4a8b1f610f1dc66529af01e73b
test/ceph_crypto: define __has_feature if the compiler doesn't have it

Refer to https://gcc.gnu.org/onlinedocs/cpp/_005f_005fhas_005ffeature.html
and https://clang.llvm.org/docs/LanguageExtensions.html#has-feature-and-has-extension
for further information

Fixes: https://tracker.ceph.com/issues/65673
Signed-off-by: Xuehan Xu <xuxuehan@qianxin.com>
src/test/ceph_crypto.cc