summaryrefslogtreecommitdiff
path: root/include/ruby/encoding.h
diff options
context:
space:
mode:
authorAlan Wu <alanwu@ruby-lang.org>2024-12-16 17:11:36 -0500
committerAlan Wu <alanwu@ruby-lang.org>2024-12-16 17:11:36 -0500
commit2102fe32ff8191ad51001daf57a1ed09a1ebc824 (patch)
tree1ad5520b10b69b4f711ce24010fafe724b799ecd /include/ruby/encoding.h
parent0a99daa3216c298695a5fc595fc772ebc5d1834c (diff)
Detect ASAN when using older GCC versions
Newer GCCs have __has_feature and older ones have __SANITIZE_ADDRESS__[1]. Relevant since ASAN with GCC 11 on the popular Ubuntu Jammy failed to build previously. [1]: https://gcc.gnu.org/onlinedocs/gcc-4.8.0/cpp/Common-Predefined-Macros.html
Diffstat (limited to 'include/ruby/encoding.h')
0 files changed, 0 insertions, 0 deletions