Ruby
3.2.1p31 (2023-02-08 revision 31819e82c88c6f8ecfaeb162519bfa26a14b21fd)
include
ruby
internal
compiler_is
apple.h
1
#ifndef RBIMPL_COMPILER_IS_APPLE_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_COMPILER_IS_APPLE_H
27
#if ! defined(__clang__)
28
# define RBIMPL_COMPILER_IS_Apple 0
29
30
#elif ! defined(__apple_build_version__)
31
# define RBIMPL_COMPILER_IS_Apple 0
32
33
#else
34
# define RBIMPL_COMPILER_IS_Apple 1
35
# define RBIMPL_COMPILER_VERSION_MAJOR __clang_major__
36
# define RBIMPL_COMPILER_VERSION_MINOR __clang_minor__
37
# define RBIMPL_COMPILER_VERSION_PATCH __clang_patchlevel__
38
#endif
39
40
#endif
/* RBIMPL_COMPILER_IS_APPLE_H */
Generated by
1.9.6