Ruby
3.2.1p31 (2023-02-08 revision 31819e82c88c6f8ecfaeb162519bfa26a14b21fd)
include
ruby
internal
compiler_is
intel.h
1
#ifndef RBIMPL_COMPILER_IS_INTEL_H
/*-*-C++-*-vi:se ft=cpp:*/
2
#define RBIMPL_COMPILER_IS_INTEL_H
22
#if ! defined(__INTEL_COMPILER)
23
# define RBIMPL_COMPILER_IS_Intel 0
24
25
#elif ! defined(__INTEL_COMPILER_UPDATE)
26
# define RBIMPL_COMPILER_IS_Intel 1
27
#
/* __INTEL_COMPILER = XXYZ */
28
# define RBIMPL_COMPILER_VERSION_MAJOR (__INTEL_COMPILER / 100)
29
# define RBIMPL_COMPILER_VERSION_MINOR (__INTEL_COMPILER % 100 / 10)
30
# define RBIMPL_COMPILER_VERSION_PATCH (__INTEL_COMPILER % 10)
31
32
#else
33
# define RBIMPL_COMPILER_IS_Intel 1
34
#
/* __INTEL_COMPILER = XXYZ */
35
# define RBIMPL_COMPILER_VERSION_MAJOR (__INTEL_COMPILER / 100)
36
# define RBIMPL_COMPILER_VERSION_MINOR (__INTEL_COMPILER % 100 / 10)
37
# define RBIMPL_COMPILER_VERSION_PATCH __INTEL_COMPILER_UPDATE
38
#endif
39
40
#endif
/* RBIMPL_COMPILER_IS_INTEL_H */
Generated by
1.9.6