Ruby: include/ruby/internal/compiler_is.h Source File

Ruby 4.0.5p0 (2026-05-20 revision 64336ffd0ee9e1f4c05891695a3d7b49cb709721)

compiler_is.h
Go to the documentation of this file.
1#ifndef RBIMPL_COMPILER_IS_H /*-*-C++-*-vi:se ft=cpp:*/
2#define RBIMPL_COMPILER_IS_H
23
30#define RBIMPL_COMPILER_IS(cc) RBIMPL_COMPILER_IS_ ## cc
31
32#include "ruby/internal/compiler_is/apple.h"
33#include "ruby/internal/compiler_is/clang.h"
34#include "ruby/internal/compiler_is/gcc.h"
35#include "ruby/internal/compiler_is/intel.h"
36#include "ruby/internal/compiler_is/msvc.h"
37#include "ruby/internal/compiler_is/sunpro.h"
38/* :TODO: Other possible compilers to support:
39 *
40 * - IBM XL: recent XL are clang-backended so some tweaks like we do for
41 * Apple's might be needed.
42 *
43 * - ARM's armclang: ditto, it can be clang-backended. */
44
45#endif /* RBIMPL_COMPILER_IS_H */