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