summaryrefslogtreecommitdiffstats
path: root/contrib/libs/libwebp/src/dec/idec_dec.c
diff options
context:
space:
mode:
authorswarmer <[email protected]>2025-07-24 01:37:54 +0300
committerswarmer <[email protected]>2025-07-24 01:50:28 +0300
commit026ffc40392187f03308f5ae7445365ad4a1ef7f (patch)
tree9e50fcc65ce081c2fa273625bea04607f8be00c1 /contrib/libs/libwebp/src/dec/idec_dec.c
parenta09fbf2635c138b7ce038035f24e1d9b64929f0a (diff)
Y_HAS_CPP_ATTRIBUTE macro
The new macro `Y_HAS_CPP_ATTRIBUTE` simplifies the check for C++ attribute support by handling nested `#if defined(__has_cpp_attribute)` checks. Before: ```cpp #if defined(__has_cpp_attribute) #if __has_cpp_attribute(attribute_name) // use #else // fallback #endif #else // fallback #endif ``` After: ```cpp #if Y_HAS_CPP_ATTRIBUTE(attribute_name) // use #else // fallback #endif ``` Also, rename `Y_HAVE_ATTRIBUTE` to `Y_HAS_ATTRIBUTE` for consistency. commit_hash:7994e363e1c7632e0451891862d406d19ca24863
Diffstat (limited to 'contrib/libs/libwebp/src/dec/idec_dec.c')
0 files changed, 0 insertions, 0 deletions