Ruby
3.0.5p211 (2022-11-24 revision ba5cf0f7c52d4d35cc6a173c89eda98ceffa2dcf)
include
ruby
internal
compiler_is
clang.h
Go to the documentation of this file.
1
#ifndef RBIMPL_COMPILER_IS_CLANG_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_COMPILER_IS_CLANG_H
23
#include "
ruby/internal/compiler_is/apple.h
"
24
25
#if ! defined(__clang__)
26
# define RBIMPL_COMPILER_IS_Clang 0
27
28
#elif RBIMPL_COMPILER_IS(Apple)
29
# define RBIMPL_COMPILER_IS_Clang 0
30
31
#else
32
# define RBIMPL_COMPILER_IS_Clang 1
33
# define RBIMPL_COMPILER_VERSION_MAJOR __clang_major__
34
# define RBIMPL_COMPILER_VERSION_MINOR __clang_minor__
35
# define RBIMPL_COMPILER_VERSION_PATCH __clang_patchlevel__
36
#endif
37
38
#endif
/* RBIMPL_COMPILER_IS_CLANG_H */
apple.h
Defines RBIMPL_COMPILER_IS_Apple.
Generated by
1.9.5