From 97672f669af53c41b094772559030195787406be Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=8D=9C=E9=83=A8=E6=98=8C=E5=B9=B3?= Date: Mon, 4 May 2020 15:52:56 +0900 Subject: 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. --- internal/compilers.h | 16 ++++++++-------- 1 file changed, 8 insertions(+), 8 deletions(-) (limited to 'internal/compilers.h') 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__ -- cgit v1.2.3