Ruby
3.5.0dev (2025-01-10 revision 5fab31b15e32622c4b71d1d347a41937e9f9c212)
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.8