Ruby  3.4.0dev (2024-11-05 revision e440268d51fe02b303e3817a7a733a0dac1c5091)
extension.h
Go to the documentation of this file.
1 #ifndef RBIMPL_HAS_EXTENSION_H /*-*-C++-*-vi:se ft=cpp:*/
2 #define RBIMPL_HAS_EXTENSION_H
24 
26 #if defined(__has_extension)
27 # define RBIMPL_HAS_EXTENSION(_) __has_extension(_)
28 #else
29 # /* Pre-3.0 clang had __has_feature but not __has_extension. */
30 # define RBIMPL_HAS_EXTENSION(_) RBIMPL_HAS_FEATURE(_)
31 #endif
32 
33 #endif /* RBIMPL_HAS_EXTENSION_H */
Defines RBIMPL_HAS_FEATURE.