1 #ifndef RBIMPL_COMPILER_SINCE_H
2 #define RBIMPL_COMPILER_SINCE_H
35 #define RBIMPL_COMPILER_SINCE(cc, x, y, z) \
36 (RBIMPL_COMPILER_IS(cc) && \
37 ((RBIMPL_COMPILER_VERSION_MAJOR > (x)) || \
38 ((RBIMPL_COMPILER_VERSION_MAJOR == (x)) && \
39 ((RBIMPL_COMPILER_VERSION_MINOR > (y)) || \
40 ((RBIMPL_COMPILER_VERSION_MINOR == (y)) && \
41 (RBIMPL_COMPILER_VERSION_PATCH >= (z)))))))
53 #define RBIMPL_COMPILER_BEFORE(cc, x, y, z) \
54 (RBIMPL_COMPILER_IS(cc) && \
55 ((RBIMPL_COMPILER_VERSION_MAJOR < (x)) || \
56 ((RBIMPL_COMPILER_VERSION_MAJOR == (x)) && \
57 ((RBIMPL_COMPILER_VERSION_MINOR < (y)) || \
58 ((RBIMPL_COMPILER_VERSION_MINOR == (y)) && \
59 (RBIMPL_COMPILER_VERSION_PATCH < (z)))))))
Defines RBIMPL_COMPILER_IS.