Ruby 3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
gcc_version_since.h
1#ifndef RUBY_BACKWARD2_GCC_VERSION_SINCE_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RUBY_BACKWARD2_GCC_VERSION_SINCE_H
23
24#ifndef GCC_VERSION_SINCE
25#define GCC_VERSION_SINCE(x, y, z) RBIMPL_COMPILER_SINCE(GCC, (x), (y), (z))
26#endif
27
28#ifndef GCC_VERSION_BEFORE
29#define GCC_VERSION_BEFORE(x, y, z) \
30 (RBIMPL_COMPILER_BEFORE(GCC, (x), (y), (z)) || \
31 (RBIMPL_COMPILER_IS(GCC) && \
32 ((RBIMPL_COMPILER_VERSION_MAJOR == (x)) && \
33 ((RBIMPL_COMPILER_VERSION_MINOR == (y)) && \
34 (RBIMPL_COMPILER_VERSION_PATCH == (z))))))
35#endif
36
37#endif /* RUBY_BACKWARD2_GCC_VERSION_SINCE_H */
Defines RBIMPL_COMPILER_SINCE.