Ruby
3.3.5p100 (2024-09-03 revision ef084cc8f4958c1b6e4ead99136631bef6d8ddba)
include
ruby
internal
compiler_is
clang.h
1
#ifndef RBIMPL_COMPILER_IS_CLANG_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_COMPILER_IS_CLANG_H
22
#include "ruby/internal/compiler_is/apple.h"
23
24
#if ! defined(__clang__)
25
# define RBIMPL_COMPILER_IS_Clang 0
26
27
#elif RBIMPL_COMPILER_IS(Apple)
28
# define RBIMPL_COMPILER_IS_Clang 0
29
30
#else
31
# define RBIMPL_COMPILER_IS_Clang 1
32
# define RBIMPL_COMPILER_VERSION_MAJOR __clang_major__
33
# define RBIMPL_COMPILER_VERSION_MINOR __clang_minor__
34
# define RBIMPL_COMPILER_VERSION_PATCH __clang_patchlevel__
35
#endif
36
37
#endif
/* RBIMPL_COMPILER_IS_CLANG_H */
Generated by
1.12.0