diff options
author | 卜部昌平 <[email protected]> | 2020-05-04 15:52:56 +0900 |
---|---|---|
committer | 卜部昌平 <[email protected]> | 2020-05-11 09:24:08 +0900 |
commit | 97672f669af53c41b094772559030195787406be (patch) | |
tree | 71902d58cda65825046cff5e42723dfa0d0280af /internal/compilers.h | |
parent | d7f4d732c199df24620a162372c71ee83ed21e62 (diff) |
sed -i s/RUBY3/RBIMPL/g
Devs do not love "3". The only exception is RUBY3_KEYWORDS in parse.y,
which seems unrelated to our interests.
Notes
Notes:
Merged: https://github.com/ruby/ruby/pull/3079
Diffstat (limited to 'internal/compilers.h')
-rw-r--r-- | internal/compilers.h | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/internal/compilers.h b/internal/compilers.h index f5b5f8b70d..6b084b906f 100644 --- a/internal/compilers.h +++ b/internal/compilers.h @@ -19,11 +19,11 @@ #include "ruby/impl/has/warning.h" #include "ruby/backward/2/gcc_version_since.h" -#define MSC_VERSION_SINCE(_) RUBY3_COMPILER_SINCE(MSVC, (_) / 100, (_) % 100, 0) -#define MSC_VERSION_BEFORE(_) RUBY3_COMPILER_BEFORE(MSVC, (_) / 100, (_) % 100, 0) +#define MSC_VERSION_SINCE(_) RBIMPL_COMPILER_SINCE(MSVC, (_) / 100, (_) % 100, 0) +#define MSC_VERSION_BEFORE(_) RBIMPL_COMPILER_BEFORE(MSVC, (_) / 100, (_) % 100, 0) #ifndef __has_attribute -# define __has_attribute(...) RUBY3_HAS_ATTRIBUTE(__VA_ARGS__) +# define __has_attribute(...) RBIMPL_HAS_ATTRIBUTE(__VA_ARGS__) #endif #ifndef __has_c_attribute @@ -33,23 +33,23 @@ #endif #ifndef __has_declspec_attribute -# define __has_declspec_attribute(...) RUBY3_HAS_DECLSPEC_ATTRIBUTE(__VA_ARGS__) +# define __has_declspec_attribute(...) RBIMPL_HAS_DECLSPEC_ATTRIBUTE(__VA_ARGS__) #endif #ifndef __has_builtin -# define __has_builtin(...) RUBY3_HAS_BUILTIN(__VA_ARGS__) +# define __has_builtin(...) RBIMPL_HAS_BUILTIN(__VA_ARGS__) #endif #ifndef __has_feature -# define __has_feature(...) RUBY3_HAS_FEATURE(__VA_ARGS__) +# define __has_feature(...) RBIMPL_HAS_FEATURE(__VA_ARGS__) #endif #ifndef __has_extension -# define __has_extension(...) RUBY3_HAS_EXTENSION(__VA_ARGS__) +# define __has_extension(...) RBIMPL_HAS_EXTENSION(__VA_ARGS__) #endif #ifndef __has_warning -# define __has_warning(...) RUBY3_HAS_WARNING(__VA_ARGS__) +# define __has_warning(...) RBIMPL_HAS_WARNING(__VA_ARGS__) #endif #ifndef __GNUC__ |